Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DomainPreg = regexp.MustCompile(`^[0-9a-zA-Z]+[0-9a-zA-Z.-]*\.[a-zA-Z]{2,4}$`) EmailPreg = regexp.MustCompile(`^(\w)+(\.\w+)*@(\w)+((\.\w{2,3}){1,3})$`) PhonePreg = regexp.MustCompile(`^1[345789]\d{9}$`) UsernamePreg = regexp.MustCompile(`^[a-zA-Z][0-9a-zA-Z_]{5,29}$`) )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.