removing unecessary type conversion

pull/550/head
Streppel 5 years ago committed by GitHub
parent 691a5f5f25
commit 0849b1840e
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