Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Randomizer ¶
type Randomizer struct {
// contains filtered or unexported fields
}
func NewRandomizerClient ¶
func NewRandomizerClient() (*Randomizer, error)
func (*Randomizer) RandomNumberBaseOne ¶
func (r *Randomizer) RandomNumberBaseOne(length int) int
RandomNumberBaseOne creates a random number starting from 1 to length (example length = 2 -> 1 or 2)
func (*Randomizer) RandomNumberBaseZero ¶
func (r *Randomizer) RandomNumberBaseZero(length int) int
RandomNumberBaseZero creates a random number starting from 0 to length - 1 (example length = 2 -> 0 or 1)
Click to show internal directories.
Click to hide internal directories.