Documentation
¶
Index ¶
- func ConvertStringToInt(character string) (data int, err error)
- func GenerateRandomInt(n int) string
- func GenerateRandomNum(n int) string
- func GenerateRandomString(n int) string
- func MatchRegex(matchMe string, shouldMatch string) (bool, error)
- func NumWithCharset(length int, charset string) string
- func StringWithCharset(length int, charset string) string
- func UppercaseName(name string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStringToInt ¶
ConvertStringToInt - converts a string to an integer
func GenerateRandomInt ¶
GenerateRandomInt - generates a random int string of provided length
func GenerateRandomNum ¶
func GenerateRandomString ¶
GenerateRandomString - generates a random string of provided length
func MatchRegex ¶
MatchRegex function to test if a string matches another string using regex. Returns a bool and an error if present
func NumWithCharset ¶
func StringWithCharset ¶
StringWithCharset - takes in a group of characters and used the seeded random function to pick randomly
func UppercaseName ¶
UppercaseName convert user first name and last name to have first character capitalized
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.