An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
MIT License
3.73k
stars
224
forks
source link
Add function to get the value of the json tag for a field in a struct #176
This enables the use-case where a mutual exclusion validation rule needs to know the name of a field other than the field currently being validated