Documentation ¶
Index ¶
Constants ¶
View Source
const ( ParentNodeType = "parent" ChildNodeType = "child" BrotherNodeType = "brother" )
Variables ¶
View Source
var (
ErrKeyNotFound = errors.New("Not found the key")
)
View Source
var (
ErrNotJSONObject = fmt.Errorf("Not JSON Object")
)
Functions ¶
Types ¶
type Key ¶
type Key struct { Fields []string `json:"fields"` K string `json:"k"` V string `json:"v"` IsFind bool `json:"is_find"` ParentKeys []*Key `json:"parent_keys"` BrotherKeys []*Key `json:"brother_keys"` Err error `json:"error"` // contains filtered or unexported fields }
Key string
Click to show internal directories.
Click to hide internal directories.