Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultSymbols = "!@#$%^&*?"
DefaultSymbols is the default charset of symbols
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Digit int // Digit of the random code
UseNumbers bool // Use numbers or not
UseLowercase bool // Use lowercase or not
UseUppercase bool // Use uppercase or not
UseSymbols bool // Use symbols or not
CustomSymbols string // Charset of custom symbols
ExcludeChars string // Charset to exclude
}
Options is the option struct to generate random code
Click to show internal directories.
Click to hide internal directories.