package
2.1.0+incompatible
Repository: https://github.com/syb-devs/goth.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

IsStruct checks if the given value is a struct of a pointer to a struct.
New returns a new validator, set up with the default rules and options.
NewRuleMap allocates and returns a RuleMap.
RegisterRule registers a rule in the default validator.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Result represents the outcome of a validation.
RuleMap stores validation rules.
Validator extracts and checks validation rules from struct tags TODO(zareone) create a Rule cache?? map[reflect.Type]ruleParams.

# Interfaces

Rule represents a validation rule that will be applied to a struct field value.

# Type aliases

FieldErrors is used to store struct validation errors grouped by field name.