MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / doGet

Function doGet

examples/petstore-expanded/gin/petstore_test.go:15–18  ·  view source on GitHub ↗
(t *testing.T, handler http.Handler, url string)

Source from the content-addressed store, hash-verified

13)
14
15func doGet(t *testing.T, handler http.Handler, url string) *httptest.ResponseRecorder {
16 response := testutil.NewRequest().Get(url).WithAcceptJson().GoWithHTTPHandler(t, handler)
17 return response.Recorder
18}
19
20func TestPetStore(t *testing.T) {
21 var err error

Callers 1

TestPetStoreFunction · 0.70

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected