Versions in this module Expand all Collapse all v1 v1.0.0 Jun 22, 2023 Changes in this version + type Data interface + Get func(key string) (val any, exist bool) + Set func(key string, val any) error + type Errors interface + All func() map[string]map[string]string + Get func(key string) map[string]string + Has func(key string) bool + One func(key ...string) string + type Option func(map[string]any) + type Rule interface + Message func() string + Passes func(data Data, val any, options ...any) bool + Signature func() string + type Validation interface + AddRules func([]Rule) error + Make func(data any, rules map[string]string, options ...Option) (Validator, error) + Rules func() []Rule + type Validator interface + Bind func(ptr any) error + Errors func() Errors + Fails func() bool