-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix tests and make the new config work properly
* Using the `reflect` package to set automatic defaults for all config values * Because of the above, we should be able to load all config values from the environment * The `ConfigFileNotFoundError` does not work as expected when `SetConfigFile` is used, so I created a utility function instead. ref: spf13/viper#1491
- Loading branch information
1 parent
4e77cfa
commit c98d4d7
Showing
2 changed files
with
55 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters