utils

package
v0.0.0-...-621c15c Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(password, encryptedPassword string) bool

ComparePassword compare password.

func EncryptPassword

func EncryptPassword(password string) string

EncryptPassword encrypt password.

func GenUUID

func GenUUID() string

GenUUID generate uuid.

func GenUUIDWithoutHyphen

func GenUUIDWithoutHyphen() string

GenUUIDWithoutHyphen generate uuid without hyphen.

func IntToString

func IntToString(i interface{}) string

IntToString convert int to string.

func IsValidEmail

func IsValidEmail(email string) bool

IsValidEmail check if the email is valid.

func StringToInt

func StringToInt(i string) int

StringToInt convert string to int.

Types

This section is empty.

Jump to

Keyboard shortcuts

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