Documentation
¶
Index ¶
- type Node
- func (node *Node) Children() []*Node
- func (parentNode *Node) Delete(path Path) (bool, error)
- func (currentNode *Node) GetNode(path Path) *Node
- func (parentNode *Node) Insert(nodeToInsert *Node) (bool, error)
- 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 (currentNode *Node) Walk(expression func(node *Node))
- type Path
- type Tree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
type Path ¶
type Path []string
func RouteToPath ¶
func (Path) IsRootPath ¶
Click to show internal directories.
Click to hide internal directories.