| 10 | } |
| 11 | |
| 12 | type MockHTTPClient struct { |
| 13 | DoFunc func(req *http.Request) (*http.Response, error) |
| 14 | } |
| 15 | |
| 16 | func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) { |
| 17 | if m.DoFunc != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected