util

package
v1.7.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

func GetEmailTemplate added in v1.3.0

func GetEmailTemplate(template, code string) string

func GetPhoneTemplate added in v1.3.0

func GetPhoneTemplate(template string) string

func HashPassword

func HashPassword(password string) (string, error)

func RandomNumber

func RandomNumber() string

func StringToTime

func StringToTime(datetime string) (time.Time, error)

func Test

func Test()

func TimeFormat

func TimeFormat(t time.Time) string

func UUIdV4

func UUIdV4() (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL