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 supported3 Subscribers
Add a CodeTriage badge to validator
Help out
- Issues
- fix: translate time.Duration errors for len, lt, lte, gt and gte in en
- fix(hostname): reject names exceeding the DNS length limit
- translations: add Chinese unique validation messages
- fix: ignore charset parameters when matching detected MIME types
- [Bug]: Cyclic RegisterAlias causes a fatal stack overflow on first use
- [Bug]: unique panics with "hash of unhashable type" on slices of non-comparable elements
- fix: detect cyclic validation aliases
- fix: validate uniqueness of non-comparable values
- fix: validate explicitly selected partial subtrees
- fix(baked_in): reject all-numeric dotted quad addresses in hostname_rfc1123
- Docs
- Go not yet supported