feat: temp upload
This commit is contained in:
@@ -2,11 +2,9 @@ package initialize
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"nCovTrack-Backend/config"
|
||||
"nCovTrack-Backend/global"
|
||||
|
||||
"github.com/fatih/color"
|
||||
"github.com/spf13/viper"
|
||||
"nCovTrack-Backend/global"
|
||||
)
|
||||
|
||||
func initConfig() {
|
||||
@@ -16,7 +14,7 @@ func initConfig() {
|
||||
if err := v.ReadInConfig(); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
serverConfig := config.ServerConfig{}
|
||||
serverConfig := global.ServerConfig{}
|
||||
if err := v.Unmarshal(&serverConfig); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user