apg-go/apg.go

21 lines
473 B
Go
Raw Normal View History

package apg
// VERSION represents the version string
const VERSION = "2.0.0"
// Generator is the password generator type of the APG package
type Generator struct {
// config is a pointer to the apg config instance
config *Config
// syllables holds the single syllables of the lasst generated
// pronounceable password
syllables []string
}
// New returns a new password Generator type
func New(config *Config) *Generator {
return &Generator{
config: config,
}
}