Versions in this module Expand all Collapse all v0 v0.13.0 Feb 21, 2021 v0.10.0 Feb 11, 2017 Changes in this version + type Node struct + func (currentNode *Node) GetNode(path Path) *Node + func (currentNode *Node) Walk(expression func(node *Node)) + func (node *Node) Children() []*Node + func (node *Node) Level() int + func (node *Node) Name() string + func (node *Node) Parent() *Node + func (node *Node) SetValue(value interface{}) + func (node *Node) String() string + func (node *Node) Value() interface{} + func (parentNode *Node) Delete(path Path) (bool, error) + func (parentNode *Node) Insert(nodeToInsert *Node) (bool, error) + type Path []string + func NewPath(component ...string) Path + func RouteToPath(route route.Route) Path + func (path Path) IsEmpty() bool + func (path Path) IsRootPath() bool + func (path Path) IsValid() (bool, error) + func (path Path) String() string + type Tree struct + func Empty() *Tree + func New(rootName string, rootValue interface{}) *Tree + func (tree *Tree) Delete(path Path) (bool, error) + func (tree *Tree) GetNode(path Path) *Node + func (tree *Tree) Insert(path Path, value interface{}) (bool, error) + func (tree *Tree) Root() *Node + func (tree *Tree) String() string + func (tree *Tree) Walk(expression func(node *Node))