We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c78d90 commit 2b70d54Copy full SHA for 2b70d54
config/config.go
@@ -16,7 +16,7 @@ func init() {
16
Config.SetDefault("port", 8080)
17
Config.SetDefault("timeout", 1000)
18
19
- err := Config.Unmarshal(&apiConfig)
+ err := Config.ReadInConfig()
20
if err != nil {
21
return
22
}
0 commit comments