Closed bhutch29 closed 6 years ago
I just found the package viper and will be using it for reading configuration information from files. It supports TOML and YAML syntax, which support maps. We may want to consider moving nickname stuff into the same config file...
I'm all for it, that would at least tidy up our current mess of user-supplied files, databases, and environment variables.
I think we can avoid code duplication by having a method which initializes nicknames for both breweries and beer names. Maybe something like this: