diff --git a/apg.go b/apg.go index 9aba57a..a3d9982 100644 --- a/apg.go +++ b/apg.go @@ -5,15 +5,13 @@ 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 { +func New(config *Config) *Generator { return &Generator{ - config: c, + config: config, } }