MCPcopy Create free account
hub / github.com/kataras/iris / newRequestDep1

Function newRequestDep1

mvc/controller_test.go:569–574  ·  view source on GitHub ↗
(ctx *context.Context)

Source from the content-addressed store, hash-verified

567}
568
569func newRequestDep1(ctx *context.Context) *testCustomStruct {
570 return &testCustomStruct{
571 Name: ctx.URLParam("name"),
572 Age: ctx.URLParamIntDefault("age", 0),
573 }
574}
575
576type testMyContext struct {
577 Context *context.Context

Callers

nothing calls this directly

Calls 2

URLParamMethod · 0.80
URLParamIntDefaultMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…