I’m trying to get Dgraph from source using:
go get -v github.com/dgraph-io/dgraph/dgraph however I’m getting the following error:
go: finding github.com/dgraph-io/dgraph/dgraph latest github.com/dgraph-io/dgraph/protos/pb # github.com/dgraph-io/dgraph/protos/pb ../../firstname.lastname@example.org/protos/pb/pb.pb.go:7132:29: m.Kv[iNdEx].MarshalToSizedBuffer undefined (type *pb.KV has no field or method MarshalToSizedBuffer) ../../email@example.com/protos/pb/pb.pb.go:7195:29: m.Kv[iNdEx].MarshalToSizedBuffer undefined (type *pb.KV has no field or method MarshalToSizedBuffer)
There was an open issue to resolve Go module support and it seems like it was merged, wondering if this is an unrelated/new error (in which case I’ll create an issue for it) or if, as I suspect, I may be doing something wrong?
My Go version:
go version go1.13.1 darwin/amd64 I have GO111MODULE on.