fix: 修正依赖关系

This commit is contained in:
Mmx
2021-12-03 20:05:02 +08:00
parent 649f7c260d
commit 089d9e255b
2 changed files with 1 additions and 3 deletions

View File

@@ -2,7 +2,6 @@ package global
import (
"github.com/Mmx233/BitSrunLoginGo/models"
"github.com/Mmx233/BitSrunLoginGo/util"
"github.com/Mmx233/BitSrunLoginGo/v1/transfer"
"github.com/Mmx233/config"
"log"
@@ -49,6 +48,4 @@ func init() {
log.Println("读取配置文件失败:\n", e.Error())
os.Exit(1)
}
util.Log.Demo = Config.Settings.DemoMode
}

View File

@@ -7,6 +7,7 @@ import (
)
func main() {
util.Log.Demo = global.Config.Settings.DemoMode
defer util.Log.CatchRecover()
if global.Flags.RunningDaemon {