random

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 3 Imported by: 1

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