package
2.0.3
Repository: https://github.com/sliveryou/go-tool.git
Documentation: pkg.go.dev

# Functions

MustNewValidator must new a validator.
NewBankCard new a bank card validator.
NewCorpAccount new a corp account validator.
NewIdCard new an id card validator.
NewUSCC new an uscc validator.
NewValidator new a validator.
ParseErr parses the content of validation error.
Verify checks the data validity of the exportable field of the structure according to the validate tag.
VerifyVar checks the data validity of the field according to the validate tag.
VerifyVarWithValue checks the data validity of the field against another field according to the validate tag.

# Constants

Female gender female.
Male gender male.

# Variables

ErrUnexpected unexpected error.

# Structs

Validator represents the validator structure.

# Type aliases

BankCard bank card validator.
CorpAccount corp account validator.
IdCard id card validator.
USCC uscc validator.