validator
https://github.com/go-playground/validator
Go
:100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving
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 supported1 Subscribers
Add a CodeTriage badge to validator
Help out
- Issues
- hostname_rfc1123 and hostname_port do not support IP addresses
- `required_without` and `excluded_with` issues with nested structs
- Align required_without with usage shown in the docs
- OR operator produces invalid tag names in validation errors
- add german translations
- excluded_if panic on nil tag parameter
- unique tag panic on slice contains nil elem
- how to support required_if that Field1 value is one of some value
- Stricter unicode space check in email regex (with tests)
- Bug: `postcode_iso3166_alpha2_field` validation broken in v10.21.0
- Docs
- Go not yet supported