Replies: 1 comment 6 replies
-
| I have another idea that could bring more clarity for options in general. We could introduce named types for the options. type EngineOption func(...) ...
func WithTowel() EngineOption {
    ...
}These would make  But if there are many options with similar names, then separate packages are probably a good idea. In this case, I would propose that we rename the  | 
Beta Was this translation helpful? Give feedback.
                  
                    6 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Similar to what we did with options: https://github.com/go-fuego/fuego/blob/main/option/option.go. What are thoughts on creating an
enginepackage that holds all the configuration capabilities forengine?I mention this as a colleague mentioned to be that is is difficult to distinguish fuego Server options from Engine options.
Beta Was this translation helpful? Give feedback.
All reactions