Documentation
¶
Index ¶
- Constants
- Variables
- func CanonicalEmail(email string) string
- func CanonicalIdentifier(authType, identifier string) string
- func Check(areaCode, telephone string) bool
- func CheckPhone(telephone string) bool
- func FormatToE164(area, phone string) (string, error)
- func FormatToInternational(telephone string) string
- func GetCountryCode(telephone string) string
- func MaskEmail(email string) string
- func MaskPhoneNumber(phone string) string
- func ValidateEmail(email, domainList string, enforceDomain bool) (string, error)
Constants ¶
View Source
const ( Email = "email" //邮箱 Mobile = "mobile" //手机 Device = "device" //设备 )
Variables ¶
Functions ¶
func CanonicalEmail ¶
func CanonicalIdentifier ¶
func CheckPhone ¶
func FormatToE164 ¶
func FormatToInternational ¶
func GetCountryCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.