(req *http.Request)
| 82 | type roundTripper func(*http.Request) (*http.Response, error) |
| 83 | |
| 84 | func (f roundTripper) RoundTrip(req *http.Request) (*http.Response, error) { |
| 85 | return f(req) |
| 86 | } |
| 87 | |
| 88 | func Test_httpRequest(t *testing.T) { |
| 89 | var tr roundTripper = func(req *http.Request) (*http.Response, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected