(req *http.Request)
| 15 | type roundTripFunc func(*http.Request) (*http.Response, error) |
| 16 | |
| 17 | func (f roundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) { |
| 18 | return f(req) |
| 19 | } |
| 20 | |
| 21 | func newTestClient(t *testing.T, withAuth bool, fn roundTripFunc) *Client { |
| 22 | t.Helper() |
nothing calls this directly
no outgoing calls
no test coverage detected