Versions in this module Expand all Collapse all v1 v1.2.6 Sep 17, 2020 v1.1.0 Jul 22, 2020 Changes in this version + func ChooseOne(rng *Rng, weights []uint64) int + func ChooseSome(rng *Rng, weights []uint64, cnt int) []int + func ChooseSomeMaxWeight(rng *Rng, weights []uint64, cnt int, tries int) []int + type Rng struct + func NewRng(initSeed string) *Rng + func (r *Rng) NextUint64() uint64