chore: 变更util与global层依赖关系

This commit is contained in:
Mmx
2021-11-25 08:37:53 +08:00
parent 884934b951
commit 66df79e68f
7 changed files with 20 additions and 16 deletions

View File

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