random

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConcurrentRandomSource

func NewConcurrentRandomSource(src rand.Source) rand.Source

NewConcurrentRandomSource constructs ConcurrentRandomSource, wrapping existing rand.Source/rand.Source64

func NewTimeSeededRand

func NewTimeSeededRand() *rand.Rand

NewTimeSeededRand creates *rand.Rand seeded with current time and safe for concurrent use

Types

This section is empty.

Jump to

Keyboard shortcuts

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