Versions in this module Expand all Collapse all v1 v1.5.4 Oct 26, 2023 Changes in this version + func Intn(n int) int + func SelectWeightedRandItem(scalableRand *ScalableRand, slice WeightedSlice) int + type ScalableRand struct + func NewScalableRand() *ScalableRand + func (s *ScalableRand) Intn(n int) int + type WeightedSlice interface + TotalWeight func() int