mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-06 09:13:52 +02:00
Trying to fix dependencies.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user