package pwgen type GeneratorOption interface { ApplyToOptions(options *options) } type Generator interface { Generate(opts ...GeneratorOption) (string, error) }