Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RandomStringNumber = "0123456789" RandomStringLowercase = "abcdefghijklmnopqrstuvwxyz" RandomStringUppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" RandomStringGeneral = RandomStringNumber + RandomStringLowercase + RandomStringUppercase )
View Source
var ( Validate = validator.New(validator.WithRequiredStructEnabled()) ValidDomain = regexp.MustCompile(`^(?:[0-9\p{L}](?:[0-9\p{L}-]{0,61}[0-9\p{L}])?\.)+[0-9\p{L}][0-9\p{L}-]{0,61}[0-9\p{L}]$`).MatchString )
Functions ¶
func CapitalPeriod ¶
func OrdinalNumber ¶
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.