remove debug code
This commit is contained in:
parent
6b9942a175
commit
7e464374bb
@ -75,7 +75,6 @@ func (oj *ownJson) Marshal(marshalType string) ([]byte, error) {
|
|||||||
// generateStructField 递归解析
|
// generateStructField 递归解析
|
||||||
func (oj *ownJson) generateStructField(rootPath string, currentName string, currentResult gjson.Result) {
|
func (oj *ownJson) generateStructField(rootPath string, currentName string, currentResult gjson.Result) {
|
||||||
structPath := oj.getPath(rootPath, currentName)
|
structPath := oj.getPath(rootPath, currentName)
|
||||||
fmt.Println(structPath)
|
|
||||||
if currentResult.IsBool() {
|
if currentResult.IsBool() {
|
||||||
// bool类型
|
// bool类型
|
||||||
oj.structBuilder.AddField(structPath, "", true, "", false)
|
oj.structBuilder.AddField(structPath, "", true, "", false)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user