2023-04-25 13:56:11 +00:00
|
|
|
package pwgen
|
|
|
|
|
2023-04-25 15:45:32 +00:00
|
|
|
type Int32n interface {
|
|
|
|
Int31n(n int32) int32
|
|
|
|
}
|
|
|
|
|
|
|
|
type GenerationOption interface {
|
2023-04-25 13:56:11 +00:00
|
|
|
ApplyToOptions(options *options)
|
|
|
|
}
|
|
|
|
|
|
|
|
type Generator interface {
|
2023-04-25 15:45:32 +00:00
|
|
|
Generate(opts ...GenerationOption) (string, error)
|
2023-04-25 13:56:11 +00:00
|
|
|
}
|