util

package
v0.0.0-...-469cf1e Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Random

type Random struct {
	// contains filtered or unexported fields
}

func NewRandom

func NewRandom() *Random

func (*Random) RandomBool

func (g *Random) RandomBool() bool

func (*Random) RandomFloat

func (g *Random) RandomFloat() float64

func (*Random) RandomInt63

func (g *Random) RandomInt63() int64

func (*Random) RandomInt63n

func (g *Random) RandomInt63n(max int64) int64

func (*Random) RandomNum

func (g *Random) RandomNum(max int) int

func (*Random) RandomRange

func (g *Random) RandomRange(n int, m int) int

Jump to

Keyboard shortcuts

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