sdkrand

package
v0.0.0-...-c570f4e Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SeededRand = rand.New(&lockedSource{src: rand.NewSource(time.Now().UnixNano())})

SeededRand is a new RNG using a thread safe implementation of rand.Source

Functions

func Read

func Read(r *rand.Rand, p []byte) (int, error)

Read provides the stub for math.Rand.Read method support for go version's 1.6 and greater.

Types

This section is empty.

Jump to

Keyboard shortcuts

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