Documentation
¶
Index ¶
- func AnyByte() byte
- func AnyByteExcept(current byte) (output byte)
- func AnyByteLessThan(limit byte) (output byte)
- func AnyBytes(length int) []byte
- func AnyInt() int
- func AnyIntBetween(min, max int) int
- func AnyInts(length int) (output []int)
- func AnyRune() rune
- func AnyString(length int) string
- func AnyUints16(length int) (output []uint16)
- func AnyValidRune() rune
- func Bytes(length int) []byte
- func Ints(length int) (output []int)
- func NextValidRune(current rune) rune
- func String(length int) string
- func ValidRune(r rune) bool
- func ZeroBytes(length int) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnyByteExcept ¶
AnyByteExcept returns any byte except the provided one
func AnyByteLessThan ¶
AnyByteLessThan returns any byte less than the provided one
func AnyIntBetween ¶
AnyIntBetween returns a random positive integer between minimum and maximum values
func AnyUints16 ¶
AnyUints16 returns an int16 slice with the specified length and random values
func Bytes ¶
Bytes creates a byte slice of the specified length with predictable values {0, ..., 255, 0, ...}
func NextValidRune ¶
NextValidRune returns the next non-control rune after the current one
func String ¶
String creates a string of the specified length with predictable values from StringRunes sequentially
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.