MCPcopy
hub / github.com/gin-gonic/gin / newMockWriter

Function newMockWriter

benchmarks_test.go:128–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126}
127
128func newMockWriter() *mockWriter {
129 return &mockWriter{
130 http.Header{},
131 }
132}
133
134func (m *mockWriter) Header() (h http.Header) {
135 return m.headers

Callers 3

BenchmarkManyHandlersFunction · 0.85
runRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected