Commit 658bcbb7f15a3106498ad59d2d381c759ede4ee3

Authored by 王家文
1 parent ef31119a
Exists in master and in 1 other branch dev-wjw

refactor♻️:项目目录重构

common/svlog/log.go
... ... @@ -18,4 +18,5 @@ func Init() {
18 18 }
19 19  
20 20 fmt.Println(svconst.AppName + " svlog init success")
  21 +
21 22 }
... ...
common/svmysql/index.go 0 → 100644
... ... @@ -0,0 +1 @@
  1 +package svmysql
... ...
main.go
... ... @@ -40,6 +40,7 @@ func Init() {
40 40 svconst.AppName = beego.AppConfig.String("appname")
41 41  
42 42 svlog.Init()
  43 +
43 44 svlog.InitAliLog(svconst.AppName)
44 45  
45 46 if !svredis.Init() {
... ...