Documentation ¶
Index ¶
- Variables
- func Bool() bool
- func Character(pool string) rune
- func CharacterR(pool []rune) rune
- func Float32(min, max float32) float32
- func Float64(min, max float64) float64
- func Increment() int64
- func IncrementN(ns string) int64
- func IncrementNReset(ns string)
- func IncrementNWithDelta(ns string, delta int64) int64
- func IncrementNWithStep(ns string, step int64) int64
- func IncrementNWithStepAndDelta(ns string, step, delta int64) int64
- func IncrementReset()
- func IncrementWithDelta(delta int64) int64
- func IncrementWithStep(step int64) int64
- func IncrementWithStepAndDelta(step, delta int64) int64
- func Integer(min, max int) int
- func MapCharacterPool(pool string) []rune
- func MustRegister(MustRegisterFunction func(params ...interface{}))
- func Natural(min, max int) int
- func Range(start, stop, step int)
- func SelectInts(slice []int, count int) []int
- func Sentence() string
- func String(pool string, min, max int) string
- func Unique(min, max, count int) []int
Constants ¶
This section is empty.
Variables ¶
View Source
var Boolean = Bool
View Source
var Char = Character
View Source
var CharacterPool = map[string][]rune{ "lower": []rune("abcdefghijklmnopqrstuvwxyz"), "upper": []rune("ABCDEFGHIJKLMNOPQRSTUVWXYZ"), "letter": []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), "number": []rune("0123456789"), "symbol": []rune("!@#$%^&*()[]"), "numletter": []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"), "any": []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()[]"), "alpha": []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), "": []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()[]"), }
View Source
var Float = Float64
View Source
var Int = Integer
View Source
var MaxInt = 9007199254740992
View Source
var MinInt = -9007199254740992
View Source
var Sentences []string
View Source
var Str = String
Functions ¶
func IncrementN ¶
func IncrementNReset ¶
func IncrementNReset(ns string)
func IncrementNWithDelta ¶
func IncrementNWithStep ¶
func IncrementReset ¶
func IncrementReset()
func IncrementWithDelta ¶
func IncrementWithStep ¶
func MustRegister ¶
func MustRegister(MustRegisterFunction func(params ...interface{}))
func SelectInts ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.