Documentation ¶
Index ¶
- func BubbleSort(arr []uint) (res []uint)
- func CheckIDCard(idCard string) error
- func DecimalScoreToInt(a decimal.Decimal) int
- func DecimalToInt(a decimal.Decimal, s int) int
- func Difference(arr1 []uint, arr2 []uint) []uint
- func GetHash() string
- func GetweekIndex(index uint) uint
- func Intersect(arr1 []uint, arr2 []uint) []uint
- func IsIn(s []uint, x uint) bool
- func NewUUID() string
- func ParseUint(key string) (uint, error)
- func PasswordEncry(password string) (string, error)
- func PasswordEncryCompare(password, compare string) bool
- func SystemDecimalToInt(a decimal.Decimal) int
- func TrimSpace(a string) string
- func Unsign(tokenString string) (uint, error)
- func ValiateMobileNumber(mobileNumber string) error
- func ValiatePassword(password string) error
- func YuanToFenInt(a decimal.Decimal) int
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecimalScoreToInt ¶
DecimalScoreToInt 积分decimal 转整形
func DecimalToInt ¶
DecimalToInt deciaml to int,s:-1 floor;s:0 round;s:1 ceil
func PasswordEncryCompare ¶
PasswordEncryCompare 密码加密对比
func SystemDecimalToInt ¶
SystemDecimalToInt deciaml to int
func ValiateMobileNumber ¶
ValiateMobileNumber 校验手机号码是否有效
Types ¶
Click to show internal directories.
Click to hide internal directories.