I had this same issue. As @iluminae suggested, I ended up replacing these imports:
"github.com/dgraph-io/dgo"
"github.com/dgraph-io/dgo/protos/api"
with these:
"github.com/dgraph-io/dgo/v210"
"github.com/dgraph-io/dgo/v210/protos/api"
I had this same issue. As @iluminae suggested, I ended up replacing these imports:
"github.com/dgraph-io/dgo"
"github.com/dgraph-io/dgo/protos/api"
with these:
"github.com/dgraph-io/dgo/v210"
"github.com/dgraph-io/dgo/v210/protos/api"