util

package
v0.0.0-...-292a893 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
	// contains filtered or unexported fields
}

func (*Graph) AddNode

func (g *Graph) AddNode(n *Node)

func (*Graph) GetNodes

func (g *Graph) GetNodes() []*Node

type Node

type Node struct {
	// contains filtered or unexported fields
}

func NewNode

func NewNode(title, value string) *Node

func (*Node) AddChild

func (n *Node) AddChild(childNode *Node)

func (*Node) GetChildren

func (n *Node) GetChildren() []*Node

func (*Node) GetTitle

func (n *Node) GetTitle() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL