Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CNPJRegexp = regexp.MustCompile(`^\d{2}\.?\d{3}\.?\d{3}\/?(:?\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})-?\d{2}$`)
View Source
var CPFRegexp = regexp.MustCompile(`^\d{3}\.?\d{3}\.?\d{3}-?\d{2}$`)
View Source
var NotBlank = validators.NotBlank
NotBlank it's just an alias for github.com/go-playground/validator/v10/non-standard/validators.NotBlank to avoid importing two packages with the same name.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.