-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
From @mav8557
If need be we can use a struct - I have a repo somewhere doing this for an example. The idea then would be to read in the config file to a Config struct, then read in the arguments (so they overrule config file options) and then pass that parse configuration struct around where it's needed, as part of an application context. I can work on that later, but an example of what I mean is here: https://github.com/carolynvs/emote/blob/master/config/config.go#L23
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request