Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CNPJRule = &Rule{ Regex: regexp.MustCompile(`\d{2}\.?\d{3}\.?\d{3}/?\d{4}-?\d{2}`), Method: Hash, Prefix: "CNPJ", Validator: brdoc.IsCNPJ, }
View Source
var CPFRule = &Rule{ Regex: regexp.MustCompile(`\d{3}\.?\d{3}\.?\d{3}-?\d{2}`), Method: Hash, Prefix: "CPF", Validator: brdoc.IsCPF, }
View Source
var Rules []*Rule
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.