# Functions
No description provided by the author
Field validates a val with the given rules.
FieldByStrRules accepts rules like "required=true,email=true,matches=^(abc|123)$".
No description provided by the author
No description provided by the author
Struct validates the interface by the struct tag `validate`Example
type Customer struct {
Age int `validate:"required=true,min=5,max=10"`
Email string `validate:"required=true,email=true"`
}
*/.
# Variables
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