govalidator
https://github.com/asaskevich/govalidator
Go
[Go] Package of validators and sanitizers for strings, numerics, slices and structs
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 supported5 Subscribers
Add a CodeTriage badge to govalidator
Help out
- Issues
- punycode was not support by IsURL
- Phone Number Validator
- add gt、lt、ge、le and equal etc.
- is unix:///var/run/docker.sock a valid URL?
- Cannot have custom message for length?
- MIME validation?
- BUG? Validation work only for one struct field (see sample)
- Add validator for E164 format
- Incorrect max length for DNS (domain and hostname)
- IsDNSName returns true for 1.1.1.300
- Docs
- Go not yet supported