rnd

package
v1.8.53 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandNumStrNonSafe

func RandNumStrNonSafe(length int) string

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

func RandomCnName added in v1.8.43

func RandomCnName() string

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

func RandomId added in v1.8.45

func RandomId() string

RandomId 生成一个随机字符串ID

func RandomNumberInRange added in v1.8.52

func RandomNumberInRange(min, max int) int

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

func UUIDNoDash added in v1.8.45

func UUIDNoDash() string

UUIDNoDash 生成不带连字符的 UUID

Types

This section is empty.

Jump to

Keyboard shortcuts

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