rand

package
v3.16.11 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithLock added in v3.11.11

func WithLock() option

func WithMax added in v3.13.0

func WithMax(max int64) option

Types

type Rand added in v3.11.11

type Rand interface {
	Int64(max int64) int64
	Int(max int) int
}

func New added in v3.11.11

func New(opts ...option) Rand

Jump to

Keyboard shortcuts

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