package
0.2.0
Repository: https://github.com/m1/go-generate-password.git
Documentation: pkg.go.dev

# Functions

New returns a new generator.
NewWithDefault returns a new generator with the default config.

# Constants

DefaultLetterAmbiguousSet are letters which are removed from the chosen character set if removing similar characters.
DefaultLetterSet is the letter set that is defaulted to - just the alphabet.
DefaultNumberAmbiguousSet are the numbers which are removed from the chosen character set if removing similar characters.
DefaultNumberSet the default symbol set if character set hasn't been selected.
DefaultSymbolAmbiguousSet are the symbols which are removed from the chosen character set if removing ambiguous characters.
DefaultSymbolSet the default symbol set if character set hasn't been selected.
LengthOK ok length password.
LengthStrong strong length password.
LengthVeryStrong very strong length password.
LengthWeak weak length password.

# Variables

DefaultConfig is the default configuration, defaults to: - length = 24 - Includes symbols, numbers, lowercase and uppercase letters.
ErrConfigIsEmpty is the error if the config given is empty.

# Structs

Config is the config struct to hold the settings about what type of password to generate.
Generator is what generates the password.