Documentation
¶
Index ¶
- Constants
- func FuzzStringType(varName string) (string, error)
- func GeneratePhoneNumber() (string, error)
- func GenerateRandomBoolean() bool
- func GenerateRandomCharDigits(length int) (string, error)
- func GenerateRandomChars(length int) (string, error)
- func GenerateRandomIntInRange(min, max int) (int, error)
- func GenerateRandomString(length int) (string, error)
Constants ¶
View Source
const DigitsCharset = "1234567890"
View Source
const LowerCaseCharset = "qwertyuiopasdfghjklzxcvbnm"
View Source
const SpecialCharset = "!@#$%^&*()-_=+[]{}|;:,.<>/?"
View Source
const UpperCaseCharset = "QWERTYUIOPASDFGHJKLZXCVBNM"
Variables ¶
This section is empty.
Functions ¶
func FuzzStringType ¶
FuzzStringType generates a fuzzed string based on the variable name.
func GeneratePhoneNumber ¶
GeneratePhoneNumber generates a random 10-digit phone number starting with 72.
func GenerateRandomBoolean ¶
func GenerateRandomBoolean() bool
func GenerateRandomCharDigits ¶
GenerateRandomCharDigits generates a random string of given length containing characters and digits only.
func GenerateRandomChars ¶
GenerateRandomChars generates a random string of given length containing characters only.
func GenerateRandomIntInRange ¶
GenerateRandomIntInRange generates a random integer value between min and max (inclusive).
func GenerateRandomString ¶
GenerateRandomString generates a random string of given length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.