asaskevich / govalidator

[Go] Package of validators and sanitizers for strings, numerics, slices and structs
MIT License
6.04k stars 555 forks source link

ValidateStruct asserts return `error`, actually returns the slice `[]error` #377

Open vividcoding opened 4 years ago

vividcoding commented 4 years ago

https://github.com/asaskevich/govalidator/blob/475eaeb164960a651e97470412a7d3b0c5036105/validator.go#L915

sergeyglazyrindev commented 3 years ago

Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.