HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Config for Golang Applications | Hacker News Reader
Config for Golang Applications
benchkram.de
3 points
·
puengel
·
·
2 comments
Open article
Save
View on HN
puengel
(original poster)
·
Setting up config for every go project. Leveraging the power of spf13/viper and spf13/cobra to load config from cli parameters, environment variables, config file and default values. Redacting sensitive data when logging the config.
martins_irbe
·
how would you compare this to something like
https://github.com/jawher/mow.cli
?
Reply on news.ycombinator.com