移除调用代码

This commit is contained in:
suguo.yao 2021-09-03 09:42:52 +08:00
parent 47463cd5fb
commit c882358bf1
1 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package mysql
import (
"fmt"
"time"
"gorm.io/driver/mysql"
@ -35,7 +34,6 @@ func New() (*gorm.DB, error) {
return _db, nil
}
fmt.Println("again!")
_db, err := gorm.Open(mysql.Open(_conf.ConnString), &gorm.Config{
SkipDefaultTransaction: true,
Logger: logger.Default.LogMode(logger.Silent),