util

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: MIT Imports: 1 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int31n

func Int31n(r *rand.Rand, n int32) int32

Int31n was copied from src/math/rand/rand.go to support Shuffle in go versions before 1.10.

func Shuffle

func Shuffle(r *rand.Rand, n int, swap func(i, j int))

Shuffle was copied from src/math/rand/rand.go to support Shuffle in go versions before 1.10.

Types

This section is empty.

Jump to

Keyboard shortcuts

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