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
- Required_if, excluded_unless and excluded_if checks the slice size instead of checking slice elements
- feat: add required_if_contains, excluded_unless_contains and excluded_if_contains
- Error in getting array type parameters in get method
- Bump golang.org/x/net from 0.21.0 to 0.23.0
- 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
- Docs
- Go not yet supported