This commit is contained in:
fallen-angle
2022-01-17 17:38:08 +08:00
parent 0a5379c8f3
commit 2280679053
19 changed files with 283 additions and 19 deletions

View File

@@ -5,6 +5,7 @@ import (
"nCovTrack-Backend/config"
"nCovTrack-Backend/global"
"github.com/fatih/color"
"github.com/spf13/viper"
)
@@ -20,4 +21,5 @@ func initConfig() {
panic(err)
}
global.ServerSettings = serverConfig
color.Blue("Already read config from %s", v.ConfigFileUsed())
}