Versions in this module Expand all Collapse all v0 v0.2.1 Oct 9, 2026 v0.2.0 Oct 8, 2026 Changes in this version + type Option func(*Validator) + func WithMessage(tag, message string) Option + func WithMessageFunc(tag string, message func(validator.FieldError) string) Option + func WithRule(tag string, fn validator.Func, message string) Option + func WithValidate(v *validator.Validate) Option + type Validator struct + func New(opts ...Option) *Validator + func (a *Validator) Validate(input any) error