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 supported2 Subscribers
Add a CodeTriage badge to validator
Help out
- Issues
- 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
- Improve Error when required is used with bool
- Unable to verify the IPv4 mapped IPv6 address
- fix IPv4 mapped IPv6 address cannot verify for "ipv6" and "ipv4" tag
- why the items in oneof tag can't include comma.
- [Bug] required_unless and expected_unless syntax does not work the same way
- `excluded_unless` bug fix
- Add support for type-specific Validation based on Interface
- Docs
- Go not yet supported