Documentation ¶
Index ¶
- func GenerateInt(min, max int) int
- func GenerateIntSlice(size, min, max int) []Generic
- func GenerateString(minLen, maxLen int) string
- func GenerateStringSlice(size, minLen, maxLen int) []Generic
- func IsIntIn(n int, list ...int) bool
- func MaxFloat64(nums ...float64) float64
- func MaxInt(nums ...int) int
- func MinFloat64(nums ...float64) float64
- func MinInt(nums ...int) int
- func SeedWithNow()
- func Shuffle(a []Generic)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateIntSlice ¶
func GenerateIntSlice(size, min, max int) []Generic
GenerateIntSlice generates an array with random integers
func GenerateString ¶
GenerateString generates a random string
func GenerateStringSlice ¶
func GenerateStringSlice(size, minLen, maxLen int) []Generic
GenerateStringSlice generates an array with random strings
func MaxFloat64 ¶
MaxFloat64 returns maximum of float64 numbers
func MinFloat64 ¶
MinFloat64 returns minimun of float64 numbers
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.