diff --git a/server/utils/ast/ast_gorm_test.go b/server/utils/ast/ast_gorm_test.go index 0c83802c..88a77cbc 100644 --- a/server/utils/ast/ast_gorm_test.go +++ b/server/utils/ast/ast_gorm_test.go @@ -1,15 +1,16 @@ package ast import ( + "testing" + "github.com/flipped-aurora/gin-vue-admin/server/global" "github.com/flipped-aurora/gin-vue-admin/server/model/example" - "testing" ) const A = 123 func TestAddRegisterTablesAst(t *testing.T) { - AddRegisterTablesAst("D:\\gin-vue-admin\\server\\utils\\ast_test.go", "Register", "test", "testDB", "testModel") + AddRegisterTablesAst("D:\\gin-vue-admin\\server\\utils\\ast_test.go", "Register", "test", "test", "testDB", "testModel") } func Register() {