Documentation ¶
Index ¶
- func B2S(bs []uint8) string
- func Filter(vs []string, f func(string) bool) []string
- func TDestroy(key string, node string) int
- func TExists(key string, node string) bool
- func TInsert(key string, parent string, node string, options map[string]string) int
- func TMoveChildren(key string, source string, target string, op string) int
- func TMrem(key string, node string, options map[string]string) interface{}
- func TParents(key string, node string) []string
- func TPath(key string, node string, newNode string) []string
- func TPrune(key string, node string) bool
- func TRem(key string, parent string, count int, node string) int
- func TRename(key string, node string, newNode string) bool
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func B2S ¶
Borrowed from https://stackoverflow.com/questions/28848187/golang-convert-int8-to-string
func Filter ¶
Returns a new slice containing all strings in the slice that satisfy the predicate f. Borrowed from https://play.golang.org/p/3PNdke3Wia
Types ¶
Click to show internal directories.
Click to hide internal directories.