Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using spf13/viper for config management? #13

Open
DaniruKun opened this issue Feb 1, 2023 · 1 comment
Open

Consider using spf13/viper for config management? #13

DaniruKun opened this issue Feb 1, 2023 · 1 comment

Comments

@DaniruKun
Copy link

For the configuration management that is done in https://github.com/evolution-gaming/ease/blob/main/config.go , you can also try out https://github.com/spf13/viper
It's a very mature and standard library for Go configuration management that supports 12 factor app basics, and does most of the stuff for you (automatic env var loading, various format deserializers, multiple config path search etc.).

@jurisevo
Copy link
Collaborator

jurisevo commented Feb 1, 2023

Thanks @DaniruKun ! This is a viable option, especially if at some point will adopt cobra for CLI as per #11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants