Refactor code and update comments

This commit is contained in:
TwinProduction
2020-11-21 17:35:08 -05:00
parent 53e1012ca1
commit 5850ed82e4
2 changed files with 21 additions and 25 deletions

View File

@ -87,6 +87,7 @@ func Get() *Config {
}
// Load loads a custom configuration file
// Note that the misconfiguration of some fields may lead to panics. This is on purpose.
func Load(configFile string) error {
log.Printf("[config][Load] Reading configuration from configFile=%s", configFile)
cfg, err := readConfigurationFile(configFile)