Versions in this module Expand all Collapse all v1 v1.0.0 Oct 20, 2021 Changes in this version + type EmailOption func(*emailValidator) + func EmailTimeout(timeout time.Duration) EmailOption + type InputValidator interface + Validate func(input map[string]interface{}) map[string][]error + func NewInputValidator(validators map[string][]Validator) InputValidator + type Password struct + Max int + Min int + RequiredRangeTable map[string][]*unicode.RangeTable + type StringLength struct + Max int + Min int + type Validator interface + Validate func(input interface{}) error + func NewColorValidator() Validator + func NewEmailValidator(opts ...EmailOption) Validator + func NewPasswordValidator(opts Password) Validator + func NewStringLengthValidator(opts StringLength) Validator + func NewUUIDValidator() Validator + type ValuesValidator interface + Validate func(values url.Values) map[string][]error + func NewValuesValidator(validators map[string][]Validator) ValuesValidator