-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Environment not directly configurable but read from APP_ENV
We use mitchellh/mapstructure to parse the values from the configuration into the Config struct. Any private field is ignored by mapstructure; in this way it can be read directly from the ENV.
- Loading branch information
Edoardo Rossi
committed
Jul 2, 2020
1 parent
e85d10a
commit f0e6b99
Showing
2 changed files
with
4 additions
and
2 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