Documentation ¶
Index ¶
- func CheckPasswordHash(password, hash string) bool
- func GetEmailTemplate(template, code string) string
- func GetPhoneTemplate(template string) string
- func HashPassword(password string) (string, error)
- func RandomNumber() string
- func StringToTime(datetime string) (time.Time, error)
- func Test()
- func TimeFormat(t time.Time) string
- func UUIdV4() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
func GetEmailTemplate ¶ added in v1.3.0
func GetPhoneTemplate ¶ added in v1.3.0
func HashPassword ¶
func RandomNumber ¶
func RandomNumber() string
func TimeFormat ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.