Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HasCharSpecials = regexp.MustCompile(`[~!@#$%^&*\(\)=:;"'<>,.?\[\]\/\\\{\}|]`)
View Source
var HasCharSpecialsToCnpj = regexp.MustCompile(`[~!@#$%^&*=:;"',?\[\]\\]`)
View Source
var HasCharSpecialsToPhone = regexp.MustCompile(`[~!@#$%^&*=:;"',.?\[\]\/\\]`)
View Source
var HasLetter = regexp.MustCompile(`[A-Za-zÁáÀàÂâÃãÄäÉéÈèÊêËëÍíÌìÏïÓóÔôÕõÖöÚúÙùÛûçÇñÑ]`)
View Source
var HasLowercase = regexp.MustCompile(`[a-záàâãäéèêëíìïóôõöúùûçñ]`)
View Source
var HasNumber = regexp.MustCompile(`\d+`)
View Source
var HasUpppercase = regexp.MustCompile(`[A-ZÁÀÂÃÄÉÈÊËÍÌÏÓÔÕÖÚÙÛÇÑ]`)
View Source
var IsBase64 = regexp.MustCompile(`^data:image\/(?:gif|png|jpeg|bmp|webp|svg\+xml)(?:;charset=utf-8)?;base64,(?:[A-Za-z0-9]|[+/])+={0,2}`)
View Source
var IsEmail = regexp.MustCompile("^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$")
View Source
var MimeType = regexp.MustCompile(`image[/]+[a-z]+`)
View Source
var OnlyNumber = regexp.MustCompile(`[^0-9]`)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.