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
- Fix InRange string branch: normalise reversed bounds and stop panicking on incompatible types
- IsDNSName accepts labels ending in a hyphen (RFC 1035 violation)
- fix(IsDNSName): reject DNS labels ending in a hyphen (#516)
- Reporting a security vulnerability - private vulnerability disclosure is not enabled
- Reject underscores in the email domain part
- Accept domain labels with multiple consecutive hyphens in IsURL
- JWT validation
- [BUG] Underscore in domain part of email are "valid"
- Module path is not versioned in go.mod
- Empty string is a valid Base64 string
- Docs
- Go not yet supported