Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LowerLetters is the list of lowercase letters. LowerLetters = "abcdefghijklmnopqrstuvwxyz" // UpperLetters is the list of uppercase letters. UpperLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // Digits is the list of permitted digits. Digits = "0123456789" // Symbols is the list of symbols. Symbols = "~!@#$%^&*()_+`-={}|[]\\:\"<>?,./" // CharacterSet set containing all types of characters CharacterSet = LowerLetters + UpperLetters + Digits + Symbols // CharacterSetNoSymbols set containing only letters and digits CharacterSetNoSymbols = LowerLetters + UpperLetters + Digits // BoldBlue print text in bold blue BoldBlue = "\033[1m\033[34m" // Reset reset text formating Reset = "\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
RandomString returns a random string of of the given length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.