package
0.0.0-20190317074716-6a20a75cd98f
Repository: https://github.com/storyicon/graphquery.git
Documentation: pkg.go.dev
# Functions
IsVisualKey determines whether a key is a virtual key based on the key name.
NewGraphData is used to initialize a GraphData.
OutputObject is used to traverse the data in output GraphObject if atomOnly is true, only one key will be returned.
# Constants
ErrFatalError means fatal error occurred.
ErrPushOverflow means data push overflow.
ErrWrongArgNumber means wrong number of parameters.
ErrWrongTypeCall means call method on wrong type.
TypeArray describes the []string, []float64, [][...] type.
TypeAtomGraph returns first data.
TypeFloat64 describes the float64 type.
TypeObject describes the map[string]GraphData type.
TypeObjectArray describes the []map[string]GraphData type.
TypeObjectGraph returns raw data.
TypeRootNode is the name of the virtual root node.
TypeString describes the string type.
# Structs
Error represents a error's specification.
Graph is a parsed Graph tree.
GraphData is the generic memory of Graph.
GraphNode is the atomic node in Graph.
GraphResponse is the analytic result.
# Interfaces
GraphRawData used to store JSON structure.
# Type aliases
Errors is a collection of Error.
GraphObject is GraphData organized by map.
H is a shortcut for map[string]interface{}.