sync fork with v1.10.0

This commit is contained in:
2024-10-28 13:47:19 +03:00
17 changed files with 233 additions and 387 deletions
+1 -1
View File
@@ -739,7 +739,7 @@ func (c *Context) ShouldBindHeader(obj any) error {
// ShouldBindUri binds the passed struct pointer using the specified binding engine.
func (c *Context) ShouldBindUri(obj any) error {
m := make(map[string][]string)
m := make(map[string][]string, len(c.Params))
for _, v := range c.Params {
m[v.Key] = []string{v.Value}
}