jx/tests/mocks/container.go

16 lines
227 B
Go
Raw Normal View History

2024-03-20 16:15:27 +00:00
package mocks
/*
import (
"net/http/httptest"
)
func newMockClient(doer func(*http.Request) (*http.Response, error)) *http.Client {
return &http.Client{
Transport: transportEnsureBody(transportFunc(doer)),
}
}
*/