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
Implement RuleWithContext for collection-like rules #129
Collection-like rules, such as
When
,Each
, should implementRuleWithContext
so that the rules they contain can be used in a context-aware situation.