Documentation ¶
Index ¶
- func Int(min, max int) int
- func RandomBool() bool
- func RandomBuffer(buf []byte) (int, error)
- func RandomBytes(size int) ([]byte, error)
- func RandomFloat(min, max, decimalPoint int) float64
- func RandomInt(min, max int) int
- func RandomPassword(chars string, minLen, maxLen int) string
- func RandomSimplePassword(minLen, maxLen int) string
- func RandomString(size int) string
- type Ranges
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomBool ¶
func RandomBool() bool
func RandomBuffer ¶
func RandomBytes ¶
RandomBytes generates random binary buffer.
func RandomFloat ¶
func RandomPassword ¶
func RandomSimplePassword ¶
func RandomString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.