- debug
This commit is contained in:
parent
bb64e46549
commit
28e14fdbd7
1 changed files with 0 additions and 10 deletions
|
|
@ -1,15 +1,12 @@
|
||||||
package global
|
package global
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/yaoapp/gou"
|
"github.com/yaoapp/gou"
|
||||||
"github.com/yaoapp/kun/any"
|
"github.com/yaoapp/kun/any"
|
||||||
"github.com/yaoapp/kun/utils"
|
|
||||||
"github.com/yaoapp/xiang/config"
|
|
||||||
"github.com/yaoapp/xiang/table"
|
"github.com/yaoapp/xiang/table"
|
||||||
"github.com/yaoapp/xun/capsule"
|
"github.com/yaoapp/xun/capsule"
|
||||||
)
|
)
|
||||||
|
|
@ -23,13 +20,6 @@ func TestProcessPing(t *testing.T) {
|
||||||
|
|
||||||
func TestProcessSearch(t *testing.T) {
|
func TestProcessSearch(t *testing.T) {
|
||||||
|
|
||||||
// Debug
|
|
||||||
utils.Dump(config.Conf)
|
|
||||||
fmt.Println("Models Count:", len(gou.Models))
|
|
||||||
fmt.Println("Tables Count:", len(table.Tables))
|
|
||||||
sch := capsule.Schema()
|
|
||||||
utils.Dump(sch.MustGetTables())
|
|
||||||
|
|
||||||
args := []interface{}{
|
args := []interface{}{
|
||||||
"service",
|
"service",
|
||||||
gou.QueryParam{
|
gou.QueryParam{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue