Versions in this module Expand all Collapse all v0 v0.0.1 Mar 5, 2019 Changes in this version + type Node struct + Children []*Node + Parent *Node + Value interface{} + func (node *Node) Add(value interface{}) *Node + func (node *Node) ForEachDFS(callback func(*Node)) + func (node *Node) HasChildren() bool + func (node *Node) Remove() + func (node *Node) String() string + type Tree struct + Root *Node + func Create(value interface{}) *Tree + func (tree *Tree) ForEachBSF(callback func(*Node)) + func (tree *Tree) Size() int + func (tree *Tree) String() string