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
- Lazily initialize regexes to speed up `init()`
- Expand `skip` to have the same other operators as `requred` and `excluded`
- chore: fix some comments
- 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
- Unnecessary lock operation for reading from cache in extractStructCache method - fixed double checknig/reading cStruct in validateStruct method
- Execute all validators and get the collection of corresponding results
- Docs
- Go not yet supported