package
2.8.3
Repository: https://github.com/gogf/gf.git
Documentation: pkg.go.dev

# Functions

DeleteRule deletes custom defined validation one or more rules and associated functions from global package.
GetRegisteredRuleMap returns all the custom registered rules and associated functions.
GetTags returns the validation tags.
New creates and returns a new Validator.
ParseTagValue parses one sequence tag to field, rule and error message.
RegisterRule registers custom validation rule and function for package.
RegisterRuleByMap registers custom validation rules using map for package.

# Structs

RuleFuncInput holds the input parameters that passed to custom rule function RuleFunc.
Validator is the validation manager for chaining operations.

# Interfaces

Error is the validation error for validation result.

# Type aliases

CustomMsg is the custom error message type, like: map[field] => string|map[rule]string.
RuleFunc is the custom function for data validation.