full test
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user