19 lines
336 B
Go
19 lines
336 B
Go
package ui
|
|
|
|
import (
|
|
"fmt"
|
|
cfg "go_dreamfactory/cmd/v2/configure/structs"
|
|
"go_dreamfactory/cmd/v2/lib/common"
|
|
"testing"
|
|
)
|
|
|
|
func TestGjson(t *testing.T) {
|
|
if tables, err := cfg.NewTables(common.Loader); err != nil {
|
|
println(err.Error())
|
|
} else {
|
|
for _, v := range tables.TestFlow.GetDataList() {
|
|
fmt.Println(v.Msg)
|
|
}
|
|
}
|
|
}
|