Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultSeparator is the string that denotes each part of the path
DefaultSeparator = "/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Leaf ¶
type Leaf struct { Leafs map[string]Leaf `json:"items,omitempty"` Metadata interface{} `json:"meta,omitempty"` Data interface{} `json:"data,omitempty"` }
Leaf is the unit that contains data and sub leaves
type MapTree ¶
type MapTree struct {
// contains filtered or unexported fields
}
MapTree manages data on a map to help returning data hierarchy
Click to show internal directories.
Click to hide internal directories.