Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LetterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
LetterRunes contains a set of characters for generating random strings (a-z, A-Z)
Functions ¶
func RandString ¶
RandString returns a random string of the specified length consisting of Latin letters. The length of the string is determined by the length parameter.
func RandStringFromRunes ¶
RandStringFromRunes returns a random string of the specified length composed of the provided runes. If runes is empty, an empty string is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.