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

config: add library for application configuration #15

Merged
merged 2 commits into from
Sep 26, 2020
Merged

Conversation

oncilla
Copy link
Owner

@oncilla oncilla commented Sep 26, 2020

Add application configuration library to boa based on viper.

The library now allows binding environment variables based on a config
struct with the 'boa.BindEnv' function.

Furthermore, 'boa.SetDefaults' allows setting default values based on a
config struct. The values in the provided struct ar used as the defaults.

Add application configuration library to boa based on viper.

The library now allows binding environment variables based on a config
struct with the 'boa.BindEnv' function.

Furthermore, 'boa.SetDefaults' allows setting default values based on a
config struct. The values in the provided struct ar used as the defaults.
@oncilla oncilla merged commit f8c3124 into master Sep 26, 2020
@oncilla oncilla deleted the viper-config branch September 26, 2020 20:30
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

Successfully merging this pull request may close these issues.

1 participant