gdrand

package
v0.0.0-...-7424bbb Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Float64

func Float64() float64

Float64 Float64

func Intn

func Intn(n int) int

Intn Intn

func IntnRange

func IntnRange(start, end int) int

IntnRange IntnRange

Types

type Group

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

Group Group

func NewGroup

func NewGroup() *Group

NewGroup NewGroup

func (*Group) Add

func (its *Group) Add(id, w int)

Add Add

func (*Group) Rand

func (its *Group) Rand(n int) (result []*GroupInfo)

Rand Rand

func (*Group) Reset

func (its *Group) Reset()

Reset Reset

type GroupInfo

type GroupInfo struct {
	W  int
	ID int
}

GroupInfo GroupInfo

Jump to

Keyboard shortcuts

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