This package implements pseudo-random number generators for various distributions.
For integers, there is a function for random selection from a range. For sequences, there is a function for selection of a random element and many more.
This package helps you to deal with slices and random choices in an easier way.
Download the package with the standard go get
command:
go get github.com/anonyindian/go-random
Examples can be found in the examples directory.
Full go doc
style documentation for the package can be viewed online without
installing this package by using the GoDoc site here:
https://pkg.go.dev/github.com/anonyindian/go-random