refactor:优化结构

This commit is contained in:
Mmx
2021-05-03 14:09:22 +08:00
parent 487c22846a
commit fb562f92c9
4 changed files with 62 additions and 73 deletions

View File

@@ -11,7 +11,7 @@ import (
func main() {
fmt.Println("Step0: 检查状态…")
G := Util.Config.Init()
G := Global.Config.Generate()
if Global.Config.Settings.QuitIfNetOk && Util.Checker.NetOk(G.UrlCheckApi) {
fmt.Println("网络正常,程序退出")