govalidator
https://github.com/asaskevich/govalidator
Go
[Go] Package of validators and sanitizers for strings, numerics, slices and structs
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported5 Subscribers
Add a CodeTriage badge to govalidator
Help out
- Issues
- Custom validators should return error instead of boolean
- Add an ISO3166 special case for Kosovo
- Validation failing for IsURL()
- Return from Custom validators (added through CustomTypeTagMap) error instead of bool
- required tag is not validating interface with nil value
- validation for negative values on range validator.
- ref: #441. validation for negative integer range
- Add a comment for IsE164 public function
- Fix for error message getting name of the parent json tag instead of the field tag when parent json tag is available.
- Refactored typeCheck to accept parent, fixing array/slice failing required check with empty values
- Docs
- Go not yet supported