package gotree
import "."
Package gotree create and print tree.
TYPES
type Printer interface {
Print(Tree) string
}
Printer is printer interface
type Tree interface {
Add(text string) Tree
AddTree(tree Tree)
Items() []Tree
Text() string
Print() string
}
Tree is tree inteface
func New(text string) Tree
New returns a new GoTree.Tree
add export comments for better
godoc
view. see result https://godoc.org/github.com/DiSiqueira/GoTree or: