Documentation ¶
Index ¶
Constants ¶
View Source
const ( // LowerAlphaCharset is a charset of lower case letters. LowerAlphaCharset = "abcedefghijklmnopqrstuvwxyz" // UpperAlphaCharset is a charset of upper case letters. UpperAlphaCharset = "ABCDEFGHIGJKLMNOPQRSTUVWXYZ" // NumberCharset is a charset of numbers. NumberCharset = "0123456789" // DefaultChartSet is charset of lower case letters, upper case letters, // and numbers. DefaultChartSet = LowerAlphaCharset + UpperAlphaCharset + NumberCharset )
Variables ¶
This section is empty.
Functions ¶
func RandomWithCharset ¶
RandomWithCharset generates a random string with length given a charset.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.