♻️ Export Config

This commit is contained in:
Dan Jones 2025-03-10 14:52:50 -05:00
commit 7bd5503613
6 changed files with 56 additions and 38 deletions

View file

@ -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
}
}