Codebase list golang-github-go-playground-validator-v10 / 0849b18
removing unecessary type conversion Streppel authored 4 years ago GitHub committed 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2121 v.lazyinit()
2222
2323 if err := v.validate.Struct(obj); err != nil {
24 return error(err)
24 return err
2525 }
2626 }
2727