rnd

package
v1.8.95 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenNumberInRange added in v1.8.55

func GenNumberInRange(min, max int) int

GenNumberInRange 生成指定范围内的随机数字

func GenRandomAlphaNumeric added in v1.8.55

func GenRandomAlphaNumeric() string

GenRandomAlphaNumeric 生成一个只有大小写字母和数字的随机字符串

func RandNumStrNonSafe

func RandNumStrNonSafe(length int) string

RandNumStrNonSafe 生成一个指定长度的随机数字字符串

func RandomCnName added in v1.8.43

func RandomCnName() string

RandomCnName 生成一个随机形容词+名词组合字符串

func UUID added in v1.8.55

func UUID(isNoDash bool) string

UUID 可选无横线的UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

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