4 ms·
> For example, if you're testing something that opens a socket. Then the destination of that socket should be managed by the test too. For example: https://pk
by yencabulator 4y ago
> For example, if you're testing something that opens a socket.
Then the destination of that socket should be managed by the test too.
For example: https://pkg.go.dev/net/http/httptest#Server https://pkg.go.dev/net/http/httptest#Server