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 can i exclude a list of values
- en translation issue: "must contain at maximum X items"
- Dive into and validate map keys?
- Expand `skip` to have the same other operators as `requred` and `excluded`
- Url does not error upon validation correctly?
- Order is not working w.r.t the required_with and len tag
- How can I validate a variable of type *multipart.FileHeader?
- Fix: panic in struct level example
- Feat: tag to select child field
- Execute all validators and get the collection of corresponding results
- Docs
- Go not yet supported