Update vendored libs

This commit is contained in:
Wim
2021-05-03 23:45:03 +02:00
parent af77109a47
commit 2d52fe1c80
44 changed files with 428 additions and 1650 deletions

View File

@@ -134,6 +134,10 @@ func (b *DefaultBinder) bindData(destination interface{}, data map[string][]stri
// !struct
if typ.Kind() != reflect.Struct {
if tag == "param" || tag == "query" {
// incompatible type, data is probably to be found in the body
return nil
}
return errors.New("binding element must be a struct")
}