rand

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Read = crand.Read

Read is alias for crypto/rand.Read.

Functions

func New

func New() *mrand.Rand

New constructs the source of random numbers.

func Uint64

func Uint64(r *mrand.Rand, max int64) uint64

Uint64 returns a random uint64 value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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