diff options
| -rw-r--r-- | gin.go | 4 | ||||
| -rw-r--r-- | go.mod | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -31,7 +31,7 @@ type Params []Param func (engine *Engine) allocateContext(maxParams uint16) *Context { v := make(Params, 0, maxParams) - return &Context{engine: engine, params: &v} + return &Context{engine: engine, Params: &v} } func New(opts ...OptionFunc) *Engine { @@ -72,7 +72,7 @@ func Default(opts ...OptionFunc) *Engine { type Context struct { writermem responseWriter engine *Engine - params *Params + Params *Params Request *http.Request handlers HandlersChain @@ -0,0 +1,5 @@ +module go.wit.com/lib/http/ginpb + +go 1.22 + +toolchain go1.24.1 |
