Versions in this module Expand all Collapse all v0 v0.0.6 Dec 9, 2024 Changes in this version + const AllTypeableSet + const LowerLetterSet + const NumberSet + const SymbolSet + const UpperLetterSet + var Words string + func CreateCommand() subcommands.Command + func DeleteCommand() subcommands.Command + func GenerateChars(lc LengthChecker) (string, error) + func GenerateCommand() subcommands.Command + func GenerateSymbols(lc LengthChecker) (string, error) + func GenerateWords(lc LengthChecker, wordList []string, sep string) (string, error) + func GetCommand() subcommands.Command + func ListCommand() subcommands.Command + func RandomChoice[T ~[]E, E any](set T) (out E, err error) + func RandomNOf[T ~[]E, E any](sets []T, n int) (T, int, error) + func SetCommand() subcommands.Command + func UnlockCommand() subcommands.Command + type GenerateMode int + const ModeAllSymbols + const ModeCharacters + const ModeWords + func ParseMode(m string) (GenerateMode, error) + type LengthChecker interface + LongEnough func(selections ...int) bool + func NewLengthChecker(bits, length int) (LengthChecker, error)