// Package validator ... // // Description : validator ... // // Author : go_developer@163.com<白茶清欢> // // Date : 2024-04-29 14:14 package validator import ( "encoding/json" "fmt" "testing" ) func TestRun(t *testing.T) { sourceData := map[string]interface{}{ "name": "白茶清欢", } _ = Run(sourceData, nil) byteData, _ := json.Marshal(sourceData) fmt.Println(string(byteData)) }