Versions in this module Expand all Collapse all v0 v0.0.3 Apr 10, 2019 Changes in this version + var LargerMin = xrr.Xrror("Min cannot be greater than max.") + var Unreachable = xrr.Xrror("weighted choices error: unreachable") + func AlphaOrdered() feature.Constructor + func CollectionMember() feature.Constructor + func CollectionMemberIndexed() feature.Constructor + func CombinationStrings() feature.Constructor + func Combinations(list Replacer, selectNum int, repeatable bool, buf int) (c chan Replacer) + func Default() feature.Constructor + func List() feature.Constructor + func ListExpand() feature.Constructor + func ListExpandIntRange() feature.Constructor + func ListMirrorInts() feature.Constructor + func ListShuffle() feature.Constructor + func ListWithNull() feature.Constructor + func RoundRobin() feature.Constructor + func Set() feature.Constructor + func SimpleRandom() feature.Constructor + func SourcedRandom() feature.Constructor + func WeightedStringWithNormalizedWeights() feature.Constructor + func WeightedStringWithWeights() feature.Constructor + type Choice struct + Value interface{} + Weight int + func SplitStringChoice(s string) *Choice + type Choices interface + Choose func() (*Choice, error) + func SplitStringChoices(s []string) Choices + type Registerable func() feature.Constructor + type Registerables struct + func (r *Registerables) Register() error + type Replacer interface + Len func() int + Replace func([]int) Replacer + Value func() string + ValueNoSame func() (string, bool) + type StringReplacer []string + func (sl StringReplacer) Len() int + func (sl StringReplacer) Replace(indices []int) Replacer + func (sl StringReplacer) Value() string + func (sl StringReplacer) ValueNoSame() (string, bool)