Commit 66e09a7051ea4f96c70c2bf2b2d8a322ab40fc5b

Authored by 陆恒
1 parent 2df977f2
Exists in ver2.3.0

提交

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/HttpServer/main/main.go
@@ -7,6 +7,7 @@ import ( @@ -7,6 +7,7 @@ import (
7 "HttpServer/redishandler" 7 "HttpServer/redishandler"
8 "common/logger" 8 "common/logger"
9 "flag" 9 "flag"
  10 + "mysql"
10 "os" 11 "os"
11 "runtime/pprof" 12 "runtime/pprof"
12 "time" 13 "time"
@@ -51,11 +52,11 @@ func main() { @@ -51,11 +52,11 @@ func main() {
51 return 52 return
52 } 53 }
53 54
54 - /*err = mysql.InitMysql() 55 + err = mysql.InitMysql()
55 if err != nil { 56 if err != nil {
56 logger.Error("err init mysql err=%v", err) 57 logger.Error("err init mysql err=%v", err)
57 return 58 return
58 - }*/ 59 + }
59 60
60 err = jsonconf.LoadJsonConf() 61 err = jsonconf.LoadJsonConf()
61 if err != nil { 62 if err != nil {