Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
128
func
newMockWriter() *mockWriter {
129
return
&mockWriter{
130
http.Header{},
131
}
132
}
133
134
func
(m *mockWriter) Header() (h http.Header) {
135
return
m.headers
Callers
3
BenchmarkLoggerMiddleware
Function · 0.85
BenchmarkManyHandlers
Function · 0.85
runRequest
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected