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

Function doGet

examples/petstore-expanded/gorilla/petstore_test.go:18–21  ·  view source on GitHub ↗
(t *testing.T, mux *mux.Router, url string)

Source from the content-addressed store, hash-verified

16)
17
18func doGet(t *testing.T, mux *mux.Router, url string) *httptest.ResponseRecorder {
19 response := testutil.NewRequest().Get(url).WithAcceptJson().GoWithHTTPHandler(t, mux)
20 return response.Recorder
21}
22
23func TestPetStore(t *testing.T) {
24 var err error

Callers 1

TestPetStoreFunction · 0.70

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…