apg-go/apg.go

20 lines
423 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 {
// charRange is the range of character used for the
charRange string
// config is a pointer to the apg config instance
config *Config
}
// New returns a new password Generator type
func New(c *Config) *Generator {
return &Generator{
config: c,
}
}