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

Function fakeHandler

tree_test.go:18–22  ·  view source on GitHub ↗
(val string)

Source from the content-addressed store, hash-verified

16var fakeHandlerValue string
17
18func fakeHandler(val string) HandlersChain {
19 return HandlersChain{func(c *Context) {
20 fakeHandlerValue = val
21 }}
22}
23
24type testRequests []struct {
25 path string

Callers 15

TestTreeAddAndGetFunction · 0.85
TestTreeWildcardFunction · 0.85
TestUnescapeParametersFunction · 0.85
TestTreeDuplicatePathFunction · 0.85
TestTreeCatchMaxParamsFunction · 0.85
TestTreeInvalidNodeTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected