Documentation ¶
Index ¶
- type RandUtil
- func (sr *RandUtil) Choice(slice []interface{}) interface{}
- func (sr *RandUtil) RandomBool() bool
- func (sr *RandUtil) RandomFloat(min float64, max float64) float64
- func (sr *RandUtil) RandomInt(min int, max int) int
- func (sr *RandUtil) StringChoice(stringSlice *[]string) string
- func (sr *RandUtil) StringChoiceMultiple(stringSlice *[]string, numChoices int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandUtil ¶
func NewRandUtil ¶
func NewRandUtilFromString ¶
func NewRandUtilFromTime ¶
func NewRandUtilFromTime() *RandUtil
func (*RandUtil) Choice ¶
func (sr *RandUtil) Choice(slice []interface{}) interface{}
Generic functions
func (*RandUtil) RandomFloat ¶
Float functions
func (*RandUtil) StringChoice ¶
Array functions
Click to show internal directories.
Click to hide internal directories.