go-gremlin/gremlin

Request has no field or method Exec

Opened this issue · 5 comments

gremlin.Query("g.V()").Exec undefined (type *gremlin.Request has no field or method Exec)

here is my code:

import "github.com/go-gremlin/gremlin"

func main() {

if err := gremlin.NewCluster(MY_URL_HERE); err != nil {

	fmt.Printf("error happened\n")
}

data, err := gremlin.Query(g.V().toList()).Exec()
if err != nil {
// handle error
}

}

installed using:
go get github.com/go-gremlin/gremlin

Also having an issue with this, any updates?

Also having an issue with this, any updates?

my issue was that I was trying to connect to AWS's Neptune. somehow this was not compatible. after changing libs it worked

@diegotole what did you change to for Neptune?