trand

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 3 Imported by: 10

Documentation

Overview

Package trand provides a thread-safe random number generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(seed int64) *rand.Rand

New returns a rand.Rand that is threadsafe.

func NewSeeded

func NewSeeded() *rand.Rand

NewSeeded returns a rand.Rand that's threadsafe and seeded with the current time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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