Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DelimiterFend = ";" DelimiterFendName = ":" DelimiterRule = ":" DelimiterRuleMeta = "=" )
View Source
var ( RegexEmailWeak = regexp.MustCompile(`.+@.+\..+`) // https://davidcel.is/posts/stop-validating-email-addresses-with-regex/ RegexHostname = regexp.MustCompile(`^[a-zA-Z]([a-zA-Z0-9\-]+[.]?)*[a-zA-Z0-9]$`) // https://tools.ietf.org/html/rfc952 RegexAlnum = regexp.MustCompile(`^[a-zA-Z0-9]+$`) RegexNumeric = regexp.MustCompile(`^[0-9]+$`) RegexAlpha = regexp.MustCompile(`^[a-zA-Z]+$`) RegexUUID = regexp.MustCompile(`^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$`) RegexMD5 = regexp.MustCompile(`^[0-9a-f]{32}$`) )
View Source
var Validator = validator.New()
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.