Documentation ¶
Index ¶
- func Count(t *Tree)
- func CountRO(t *Tree) (nodesNum int)
- func SynchronizeNodesInfo(t *Tree, nodesMap map[int64]*resNode.Node) (err error)
- func ToJson(t Tree) (string, error)
- func ToJsonForVue(t Tree) (string, error)
- func ToJsonIndent(t Tree) (string, error)
- type Tree
- func Copy(t *Tree) (nt *Tree)
- func Filtrate(t *Tree, nodesMap map[int64]*resNode.Node, filter func(node resNode.Node) bool) (nt *Tree, err error)
- func FiltrateMark(t *Tree, nodesMap map[int64]*resNode.Node, filter func(node resNode.Node) bool) (nt *Tree, err error)
- func LoadFromJson(bJson []byte) (t Tree, err error)
- func LoadFromJsonFile(filename string) (t Tree, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SynchronizeNodesInfo ¶
func ToJsonForVue ¶
func ToJsonIndent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.