From 8973c30be3bbe77a95ca362326598359acdaf816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=B0=8F=E5=86=9B?= <346944475@qq.com> Date: Sun, 12 Jan 2020 21:59:34 +0800 Subject: [PATCH] Update genfunc_test.go --- data/view/genfunc/genfunc_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/view/genfunc/genfunc_test.go b/data/view/genfunc/genfunc_test.go index 7255d35..674ed37 100644 --- a/data/view/genfunc/genfunc_test.go +++ b/data/view/genfunc/genfunc_test.go @@ -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 {