10 lines
165 B
Go
10 lines
165 B
Go
|
package pwgen
|
||
|
|
||
|
type GeneratorOption interface {
|
||
|
ApplyToOptions(options *options)
|
||
|
}
|
||
|
|
||
|
type Generator interface {
|
||
|
Generate(opts ...GeneratorOption) (string, error)
|
||
|
}
|