Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NestedNode ¶
type NestedNode struct {
Category string `json:"category,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Value float64 `json:"value,omitempty"`
Children []*NestedNode `json:"children,omitempty"`
}
func (*NestedNode) Add ¶
func (n *NestedNode) Add(name, desc string, value float64)
func (*NestedNode) Lookup ¶
func (n *NestedNode) Lookup(name string) *NestedNode
Click to show internal directories.
Click to hide internal directories.