Dgo Client (v230) Install Error


Report a Dgraph Client Bug

What Dgraph client (and version) are you using?

(put “x” in the box to select)

  • Dgo
  • PyDgraph
  • Dgraph4J
  • Dgraph-js
  • Dgraph-js-http
  • Dgraph.NET

Version: v230

What version of Dgraph are you using?

Dgraph Cloud v23.1.0

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, OS)?

8GB MacOS

Steps to reproduce the issue (command/config used to run Dgraph).

Just run

go get github.com/dgraph-io/dgo/v230

Expected behaviour and actual result.

Expected Dgo to be installed, but no changed happened on go.mod file, and got this on the terminal:

google.golang.org/genproto/googleapis/rpc/status: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:

Experience Report for Feature Request

Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not propose solutions.

What you wanted to do

What you actually did

Why that wasn’t great, with examples

Any external references to support your case

Hey @Bob_Bobby,

I was able to get in a clean project without an error:

$ go version
go version go1.22.5 darwin/arm64
$ mkdir test
$ cd test
$ go mod init example.com/test
go: creating new go.mod: module example.com/test
$ go get github.com/dgraph-io/dgo/v230
go: downloading github.com/dgraph-io/dgo v1.0.0
go: downloading google.golang.org/grpc v1.27.0
go: downloading github.com/pkg/errors v0.8.1
go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: downloading github.com/golang/protobuf v1.4.1
go: downloading golang.org/x/text v0.7.0
go: downloading google.golang.org/protobuf v1.25.0
go: added github.com/dgraph-io/dgo/v230 v230.0.1
go: added github.com/gogo/protobuf v1.3.2
go: added github.com/golang/protobuf v1.4.1
go: added github.com/pkg/errors v0.8.1
go: added golang.org/x/net v0.7.0
go: added golang.org/x/sys v0.5.0
go: added golang.org/x/text v0.7.0
go: added google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: added google.golang.org/grpc v1.27.0
go: added google.golang.org/protobuf v1.25.0

Guessing maybe a conflict with an existing package in your workspace.

1 Like

Thank you so much for the quick response! I just checked today. It’s also working on my machine. I must have done something stupid. Closing this issue.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.