Documentation ¶
Overview ¶
Package treemap Based on https://github.com/Tufin/asciitree
Index ¶
- type BoxType
- type Tree
- type TreeMap
- func (t *TreeMap) Add(path string)
- func (t *TreeMap) AddPaths(paths []string)
- func (t *TreeMap) Delete(path string)
- func (t *TreeMap) Init(url, value string)
- func (t *TreeMap) LeafNodesWithUrl() []string
- func (t *TreeMap) Purge()
- func (t *TreeMap) Search(path string) *TreeMap
- func (t *TreeMap) SearchUrls(path string) []string
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
Tree can be any map with: 1. Key that has method 'String() string' 2. Value is Tree itself You can replace this with your own tree
type TreeMap ¶
func NewTreeMap ¶
func NewTreeMap() *TreeMap
func NewTreeMapWithPaths ¶
func (*TreeMap) LeafNodesWithUrl ¶
func (*TreeMap) SearchUrls ¶
Click to show internal directories.
Click to hide internal directories.