rand

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Reader is a global random number source
	Reader *rand.Rand
)

Functions

func Int

func Int() int

Int wraps Rand.Int

func Int63n

func Int63n(n int64) int64

Int63n wraps Rand.Int63n

func Intn

func Intn(n int) int

Intn wraps Rand.Intn

func Read

func Read(b []byte) (int, error)

Read wraps Rand.Read

Types

This section is empty.

Jump to

Keyboard shortcuts

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