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
- How do I combine required_if with a rule
- Feature Request: A new validator, StructOverride, which allows rules to be overridden at runtime
- Validating newtype type definitions of slice types
- Validating custom map type
- add reflect struct field on validate error
- notblank == non-standard?
- How do I dynamically register translated languages?Such as http params
- hexadecimal validation in v10 validator
- failed ltfield tag with nil fields
- Extracting values associated with a tag when validating a struct
- Docs
- Go not yet supported