Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request has no field or method Exec #18

Open
diegotole opened this issue Apr 29, 2019 · 5 comments
Open

Request has no field or method Exec #18

diegotole opened this issue Apr 29, 2019 · 5 comments

Comments

@diegotole
Copy link

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
}

}

@diegotole
Copy link
Author

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

@shan98
Copy link

shan98 commented Aug 27, 2019

Also having an issue with this, any updates?

@diegotole
Copy link
Author

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

@softngineer
Copy link

@diegotole what did you change to for Neptune?

@diegotole
Copy link
Author

diegotole commented Jun 1, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants