We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a865dc commit c964ad3Copy full SHA for c964ad3
context.go
@@ -739,7 +739,7 @@ func (c *Context) ShouldBindHeader(obj any) error {
739
740
// ShouldBindUri binds the passed struct pointer using the specified binding engine.
741
func (c *Context) ShouldBindUri(obj any) error {
742
- m := make(map[string][]string)
+ m := make(map[string][]string, len(c.Params))
743
for _, v := range c.Params {
744
m[v.Key] = []string{v.Value}
745
}
0 commit comments