Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidEmailFormat = errors.New("invalid email format") ErrUnresolvableDomain = errors.New("domain cannot be resolved") )
定义错误变量
View Source
var ( ErrInvalidMD5Length = errors.New("invalid length for MD5 hash") ErrInvalidMD5Pattern = errors.New("value does not match MD5 hash pattern") )
校验是否 MD5 字符串的错误定义
Functions ¶
func IsValidEmailFormat ¶
IsValidEmailFormat 校验邮件地址格式是否合法
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.