Help us shape the future of Go! Take the 2026 Go Developer Survey

randreader

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() io.Reader

New returns an infinite reader that will return pseudo-random data. Data should not be used for cryptographic functions. A random time based seed is used.

func NewSource

func NewSource(src rand.Source) io.Reader

NewSource returns an infinite reader that will return pseudo-random data. Data should not be used for cryptographic functions. The data is seeded from the provided source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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