From 99a5bb1888f45a56d4a7dace4ab0eb908c01061f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 28 Mar 2023 18:31:28 +0800 Subject: [PATCH] =?UTF-8?q?node=E7=BB=93=E6=9E=84=E5=BC=95=E5=85=A5?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E8=8A=82=E7=82=B9=E6=A6=82=E5=BF=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tree/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tree/node.go b/tree/node.go index 4c4e411..a332125 100644 --- a/tree/node.go +++ b/tree/node.go @@ -13,6 +13,7 @@ package tree // // Date : 18:12 2023/3/28 type Node struct { + IsVirtual bool // 是否虚拟节点, 主要应对输入的原始数据为list这一场景 Value interface{} // 节点的值 ValueType string // 数据类型 int64 / float64 / map / list / nil Key string // 节点的key名称(输入的原始名称)