Documentation ¶
Index ¶
- func Date() time.Time
- func DateRange(start, end time.Time) time.Time
- func Day() int
- func Digit() string
- func Float32() float32
- func Float32Range(min, max float32) float32
- func Float64() float64
- func Float64Range(min, max float64) float64
- func Hour() int
- func Int16() int16
- func Int32() int32
- func Int64() int64
- func Int8() int8
- func Letter() string
- func Lexify(str string) string
- func Minute() int
- func Month() string
- func NanoSecond() int
- func Number(min int, max int) int
- func Numerify(str string) string
- func Password(lower bool, upper bool, numeric bool, special bool, space bool, num int) string
- func RandString(a []string) string
- func Second() int
- func Seed(seed int64)
- func ShuffleInts(a []int)
- func ShuffleStrings(a []string)
- func UUID() string
- func Uint16() uint16
- func Uint32() uint32
- func Uint64() uint64
- func Uint8() uint8
- func WeekDay() string
- func Year() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Range ¶
Float32Range will generate a random float32 value between min and max
func Float64Range ¶
Float64Range will generate a random float64 value between min and max
func RandString ¶
RandString will take in a slice of string and return a randomly selected value
func ShuffleStrings ¶
func ShuffleStrings(a []string)
ShuffleStrings will randomize a slice of strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.