♻️ Export Config
This commit is contained in:
parent
5c4e66d144
commit
7bd5503613
6 changed files with 56 additions and 38 deletions
|
|
@ -14,7 +14,7 @@ type Generator func() (string, error)
|
|||
|
||||
// WithGenerator sets the specified generator
|
||||
func WithGenerator(g Generator) Option {
|
||||
return func(c *config) {
|
||||
return func(c *Config) {
|
||||
c.generator = g
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue