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
- Custom validation messages with field data
- Using semver to tag releases
- IsURL(): Special characters (eg '#') in User Information part pass
- Update interface of ValidateStruct()
- isFilePath returns false/unknown for relative path
- Fix: Validation does not accept empty string for "*string" property #274
- Is there a way to validate against multiple fields in one IsValidField func?
- Perform typeCheck only if struct validation passes. Fixes #251
- BUG (?) validating required fields in a list of structs
- Problem with capital/lower case struct field. Validator float doesn't support kind float32 for value
- Docs
- Go not yet supported