utils

package
v0.0.0-...-8412fec Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(hashPwd, inputPwd string) bool

ComparePassword 验证码密码

func HashEncrypt

func HashEncrypt(str string) (string, error)

func Random

func Random(m int64) int

func RandomEmailCode

func RandomEmailCode() string

RandomEmailCode 生成注册邮箱验证码

Types

This section is empty.

Jump to

Keyboard shortcuts

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