random

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomNumber

func GetRandomNumber(length int) string

GetRandomNumber 获取随机数字字符串

func GetRandomString

func GetRandomString(length int) string

GetRandomString 获取随机字母字符串

func GetRandomText

func GetRandomText(length int, includeAlpha, includeNumber bool) string

GetRandomText 获取随机字符串。includeAlpha-是否包含字母;includeNumber-则否包含数字

Types

This section is empty.

Jump to

Keyboard shortcuts

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