Versions in this module Expand all Collapse all v0 v0.0.1 Jun 25, 2026 Changes in this version + const BYTE_MODE + const RUNE_MODE + var LenFunc = map[string]func(string) uint + func NewRegexpProvider(exp, name, hint string) validation.Provider + func NewUserDefinedProvider(name string, fn func(unquoted string) error) validation.Provider + type Boolean struct + func (v *Boolean) String() string + func (v *Boolean) Validate(value []byte) error + type Float struct + BitSize uint + func (v *Float) String() string + func (v *Float) Validate(value []byte) error + type Int struct + func (v *Int[T]) String() string + func (v *Int[T]) Validate(value []byte) error + type Map struct + func (v *Map) ElemRule() rule.Rule + func (v *Map) KeyRule() rule.Rule + func (v *Map) PostValidate(rv reflect.Value) error + func (v *Map) SetElemRule(r rule.Rule) + func (v *Map) SetKeyRule(r rule.Rule) + func (v *Map) String() string + func (v *Map) Validate(_ []byte) error + type Slice struct + func (v *Slice) ElemRule() rule.Rule + func (v *Slice) PostValidate(rv reflect.Value) error + func (v *Slice) String() string + func (v *Slice) Validate(value []byte) error + type String struct + func (v *String) Format() string + func (v *String) Mode() string + func (v *String) SetFormat(f string) + func (v *String) SetMode(m string) + func (v *String) String() string + func (v *String) Validate(value []byte) error + type UserDefined struct + func (v *UserDefined) Format() string + func (v *UserDefined) String() string + func (v *UserDefined) Validate(value []byte) error