Commit f9058de4 by 孙龙

up

parent 0efd3c63
Showing with 1 additions and 2 deletions
package db package db
import ( import (
"fmt"
_ "github.com/go-sql-driver/mysql" _ "github.com/go-sql-driver/mysql"
"github.com/jmoiron/sqlx" "github.com/jmoiron/sqlx"
) )
...@@ -50,7 +50,6 @@ func InitCmslDB(dns string) error{ ...@@ -50,7 +50,6 @@ func InitCmslDB(dns string) error{
} }
err = CmsDB.Ping() err = CmsDB.Ping()
fmt.Println(err)
if err != nil { if err != nil {
return err return err
} }
......
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