Documentation ¶
Index ¶
- func Alpha(n int) string
- func BigIntRange(min, max *big.Int) *big.Int
- func Bool() bool
- func Byte(n int) []byte
- func Date(t time.Time) time.Time
- func DateRange(min, max time.Time) time.Time
- func DateWithJitter(t time.Time, jitter time.Duration) time.Time
- func Digit() string
- func Float32() float32
- func Float32Range(min, max float32) float32
- func Float64() float64
- func Float64Range(min, max float64) float64
- func Gif(width int, height int) []byte
- func Hex() string
- func IPv4(prefix ...int) string
- func IPv6() string
- func Image(width int, height int) *image.RGBA
- func Int16() int16
- func Int16Range(min, max int16) int16
- func Int32() int32
- func Int32Range(min, max int32) int32
- func Int64() int64
- func Int64Range(min, max int64) int64
- func Int8() int8
- func Int8Range(min, max int8) int8
- func Jpeg(width int, height int) []byte
- func LowerChar() string
- func LowerChars(n int) string
- func Mac() string
- func MacHalf() string
- func Now() time.Time
- func Num(min, max int) int
- func Num64(min, max int64) int64
- func NumCode(str string) string
- func NumStr(min, max int) string
- func Paragraph() string
- func Phrase() string
- func PickInt(arr []int) int
- func PickStr(arr []string) string
- func Png(width int, height int) []byte
- func Sentence() string
- func ShuffleInts(arr []int)
- func ShuffleStr(arr []string)
- func SleepMillis(min, max uint32)
- func String(n int) string
- func TimeMillisAfter(min, max uint32) <-chan time.Time
- func UUID() string
- func Uint16() uint16
- func Uint16Range(min, max uint16) uint16
- func Uint32() uint32
- func Uint32Range(min, max uint32) uint32
- func Uint64() uint64
- func Uint64Range(min, max uint64) uint64
- func Uint8() uint8
- func Uint8Range(min, max uint8) uint8
- func UpperChar() string
- func UpperChars(n int) string
- func Word() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BigIntRange ¶
BigIntRange returns *big.Int between min and max
func DateWithJitter ¶
DateWithJitter returns time around 'jitter' based on specified time
func Float32Range ¶
Float32Range returns a float32 between min and max
func Float64Range ¶
Float64Range returns a float64 between min and max
func Int16Range ¶
Int16Range returns a int16 between min and max
func Int32Range ¶
Int32Range returns a int32 between min and max
func Int64Range ¶
Int64Range returns a int64 between min and max
func TimeMillisAfter ¶
TimeMillisAfter waits for the duration between min and max to elapse and then sends the current time on the returned channel.
func UUID ¶
func UUID() string
UUID returns a random (Version 4) UUID, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
func Uint16Range ¶
Uint16Range returns a uint16 between min and max
func Uint32Range ¶
Uint32Range returns a uint32 between min and max
func Uint64Range ¶
Uint64Range returns a uint64 between min and max
func Uint8Range ¶
Uint8Range returns a uint8 between min and max
Types ¶
This section is empty.