修复key解析的BUG

This commit is contained in:
2023-03-29 22:06:28 +08:00
parent f30bf03b58
commit 047935c85c
2 changed files with 91 additions and 9 deletions

23
tree/generate_test.go Normal file
View File

@ -0,0 +1,23 @@
// Package tree ...
//
// Description : tree ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2023-03-29 21:32
package tree
import (
"fmt"
"testing"
)
func TestNew(t *testing.T) {
jsonData := `{"name": "zhang", "age":17}`
g, err := New(jsonData)
if nil != err {
fmt.Println(err.Error())
return
}
fmt.Println(g)
}