Update genfunc_test.go

master
谢小军 5 years ago
parent 69a5d93269
commit 8973c30be3

@ -11,6 +11,10 @@ import (
"github.com/xxjwxc/public/mysqldb"
)
/**
:https://github.com/xxjwxc/gormt/blob/master/data/view/genfunc/model/matrix.sql
*/
func GetGorm(dataSourceName string) *gorm.DB {
db, err := gorm.Open("mysql", dataSourceName)
if err != nil {

Loading…
Cancel
Save