This package implements the alias method of random number generation for an arbitrary discrete distribution. You can install it with: go get github.com/encryptio/alias