mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 22:00:49 +01:00
Winni Neessen
6a8a5bb5aa
The version of the APG (Automatic Password Generator) package has been updated from VERSION 1.1.0 to 1.2.0. No further description of what changes have been implemented with this new version was provided in the diffs.
24 lines
577 B
Go
24 lines
577 B
Go
// SPDX-FileCopyrightText: 2021-2024 Winni Neessen <wn@neessen.dev>
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package apg
|
|
|
|
// VERSION represents the version string
|
|
const VERSION = "1.2.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,
|
|
}
|
|
}
|