rand

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT, Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chinese added in v1.4.0

func Chinese() string

Chinese returns the result.

func ChineseChar added in v1.4.0

func ChineseChar() rune

ChineseChar returns the result.

func English added in v1.4.0

func English() string

English returns the result.

func Intn

func Intn(min, max int) int

Intn returns the result.

func RandomChars added in v1.4.0

func RandomChars(n int) string

RandomChars returns the result.

func RandomCode added in v1.4.0

func RandomCode(n int) string

RandomCode returns the result.

func RandomNumber added in v1.11.2

func RandomNumber(n int) string

RandomNumber returns the result.

Types

This section is empty.

Jump to

Keyboard shortcuts

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