Merge pull request #550 from Streppel/patch-1

removing unecessary type conversion
pull/564/head
Dean Karn 5 years ago committed by GitHub
commit 361bf41fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      _examples/gin-upgrading-overriding/v8_to_v9.go

@ -22,7 +22,7 @@ func (v *defaultValidator) ValidateStruct(obj interface{}) error {
v.lazyinit() v.lazyinit()
if err := v.validate.Struct(obj); err != nil { if err := v.validate.Struct(obj); err != nil {
return error(err) return err
} }
} }

Loading…
Cancel
Save