rand

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Reader io.Reader

Reader provides a random reader that can reset during testing.

Functions

func CryptoRandFloat64

func CryptoRandFloat64() (float64, error)

CryptoRandFloat64 returns a random float64 obtained from the crypto rand source.

func Float64

func Float64(reader io.Reader) (float64, error)

Float64 returns a float64 read from an io.Reader source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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