Versions in this module Expand all Collapse all v0 v0.1.0 Dec 2, 2023 Changes in this version + func NewSource(seed ...int64) (rand.Source, error) + type Random struct + func New(src rand.Source) *Random + func (r *Random) ExpFloat64() float64 + func (r *Random) Fill(dest []byte) []byte + func (r *Random) Float32() float32 + func (r *Random) Float64() float64 + func (r *Random) Int() int + func (r *Random) Int31() int32 + func (r *Random) Int31n(n int32) int32 + func (r *Random) Int63() int64 + func (r *Random) Int63n(n int64) int64 + func (r *Random) Intn(n int) int + func (r *Random) NormFloat64() float64 + func (r *Random) Perm(n int) []int + func (r *Random) Read(p []byte) (n int, err error) + func (r *Random) Seed(seed int64) + func (r *Random) Shuffle(n int, swap func(i, j int)) + func (r *Random) Uint32() uint32 + func (r *Random) Uint64() uint64