Skip to content

Commit 2b70d54

Browse files
committed
fix: typo
1 parent 8c78d90 commit 2b70d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func init() {
1616
Config.SetDefault("port", 8080)
1717
Config.SetDefault("timeout", 1000)
1818

19-
err := Config.Unmarshal(&apiConfig)
19+
err := Config.ReadInConfig()
2020
if err != nil {
2121
return
2222
}

0 commit comments

Comments
 (0)