Trying to fix dependencies.

This commit is contained in:
Jan Mußler
2021-02-19 19:25:18 +01:00
parent 25152157ba
commit ee28fa27e4
4 changed files with 15 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
package httpclient
//go:generate mockgen -package mocks -destination=$PWD/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
import "net/http"
// HTTPClient interface
type HTTPClient interface {
Do(req *http.Request) (*http.Response, error)
Get(url string) (resp *http.Response, err error)
}