Commit 24ab3269 by 孙龙

up

parent 34c008f9
Showing with 2 additions and 0 deletions
......@@ -10,6 +10,8 @@ func Init(configPath string,logPath string)(err error){
if err != nil{
panic(err)
}
//初始化日志目录
//request 为gin请求日志目录
xlog.Init(logPath,"http","request")
//初始化数据库
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment