rand

package
v0.0.0-...-9648343 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Intn    = rand.Intn
	Shuffle = rand.Shuffle
	Float32 = rand.Float32
	Float64 = rand.Float64
)

Functions

func Byte

func Byte() uint8

Byte returns a random byte as uint8.

func Choice

func Choice(lst []string) string

func ID

func ID() string

ID generates a random identifier.

func RList

func RList(lst []string, skip int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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