Documentation ¶
Overview ¶
Package node implements data value intendent to be used in the trie package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct { // Key of the node Key string // Value of the node Value interface{} // Parent leaf of the node Parent *Node // ImmediateParent might be a branch or a leaf ImmediateParent *Node // Children of the node Children []*Node // Keys of children Keys map[string]*Node // Leaf, is it? Leaf bool }
Node stores essential node data
Click to show internal directories.
Click to hide internal directories.