Hi,
I'm looking at the
pagination section of the Tinkerpop docs and it has this example of using the same traversal instance to avoid needing to repeat traversing prior results:
gremlin> t = g.V().hasLabel('person');[]
gremlin> t.next(2)
==>v[1]
==>v[2]
gremlin> t.next(2)
==>v[4]
==>v[6]
Does anyone know if it's possible to do something like this using the gremlingo Golang SDK? The graph traversal Next function declaration doesn't accept parameters:
func (t *gremlingo.Traversal) Next() (*gremlingo.Result, error)
Any guidance is appreciated!