Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Seeded ¶
type Seeded interface {
// Intn returns, as an int, a non-negative pseudo-random number in [0,max). It
// panics if max <= 0.
Intn(max int) int
// Float64 returns, as a float64, a pseudo-random number in [0.0,1.0).
Float64() float64
}
Seeded is an interface for seeded, concurrency-safe random number generators.
Click to show internal directories.
Click to hide internal directories.