full test

This commit is contained in:
谢小军
2020-01-03 11:04:04 +08:00
parent f86f502928
commit 00d2f6e0e3

View File

@@ -4,6 +4,8 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"testing" "testing"
"github.com/xxjwxc/gormt/data/config"
) )
func TestTools(t *testing.T) { func TestTools(t *testing.T) {
@@ -15,4 +17,8 @@ func TestTools(t *testing.T) {
list := Generate(pkg) list := Generate(pkg)
fmt.Println(list) fmt.Println(list)
config.SetSingularTable(true)
list = Generate(pkg)
fmt.Println(list)
} }