func golang.org/x/pkgsite/internal/testing/testhelper.SetupTestClientAndServer
3 uses
golang.org/x/pkgsite/internal/testing/testhelper (current package)
testhelper.go#L56: func SetupTestClientAndServer(handler http.Handler) (*http.Client, *httptest.Server, func()) {
golang.org/x/pkgsite/internal/index
test_helper.go#L23: httpClient, server, serverCloseFn := testhelper.SetupTestClientAndServer(
golang.org/x/pkgsite/internal/proxy
test_helper.go#L37: httpClient, proxy, serverClose := testhelper.SetupTestClientAndServer(s.mux)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |