mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-27 08:29:36 +08:00
updata README
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"database/sql"
|
||||
"fmt"
|
||||
"github.com/XM-GO/PandaKit/biz"
|
||||
"log"
|
||||
"pandax/apps/visual/entity"
|
||||
"strings"
|
||||
|
||||
@@ -19,7 +18,6 @@ func getMysqlDB(d *entity.VisualDataSource) (*sql.DB, error) {
|
||||
if d.Db.Config != "" {
|
||||
dsn = fmt.Sprintf("%s&%s", dsn, d.Db.Config)
|
||||
}
|
||||
log.Println(dsn)
|
||||
return sql.Open("mysql", dsn)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user