Apache AGE - Go driver Type mapping

TypeAGE ResultGo Type
Vertex::vertexVertex
vertex.Id() int64
vertex.Label() string
vertex.Prop(string) interface{}
Edge::edgeEdge
edge.Id() int64
edge.Label() string
edge.StartId() int64
edge.EndId() int64
edge.Prop(string) interface{}
Path::pathPath
path.Size() int // quantity of vertices and edges in this path
path.Get(index int) Entity // *Vertex or *Edge
path.GetAsVertex(index int) *Vertex
path.GetAsEdge(index int) *Edge
Integerintint64
Floatfloat
NaN, -Infinity, Infinity
float64
math.Nan(), math.Inf(-1),math.Inf(1)
Numeric::numeric*big.Int
*big.Float
Stringstringstring
Booleanboolbool
Nullempty resultnil