helper

package
v0.0.0-...-b701592 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPassword

func CheckPassword(password string) (b bool)

func CheckUseremail

func CheckUseremail(email string) (b bool)

func CheckUsername

func CheckUsername(username string) (b bool)

func MailSendCode

func MailSendCode(mail, code string) error

MailSendCode 邮箱验证码发送

func PathExists

func PathExists(path string) (bool, error)

PathExists 判断目录是否存在

func RandCode

func RandCode() string

func RandomString

func RandomString(n int) string

RandomString 生成指定长度的随机字符

func SubStr

func SubStr(str string, start, length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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