Documentation ¶
Index ¶
Constants ¶
View Source
const IndentSize = 3
IndentSize is the number of spaces per tree level.
Variables ¶
This section is empty.
Functions ¶
func NewWithExtraInfoRoot ¶ added in v0.5.0
func NewWithExtraInfoRoot(prefix, postfix, root string) tree
func NewWithRoot ¶
func NewWithRoot(root value) tree
NewWithRoot Generates new tree with the given root value
Types ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
func NewTreeString ¶
func NewTreeString(entry string, depthLimit int, typeFilter *filter.ItemFilter, contentFilter *filter.ContentFilter) (t *Tree, serious error, minor error)
func (*Tree) MakeTreeStr ¶
Click to show internal directories.
Click to hide internal directories.