I want to know where is the v2 client

Moved from GitHub dgo/104

Posted by tamago-cn:

`
package dgo

import (
“context”
“fmt”
“math/rand”
“strings”
“sync”

"github.com/dgraph-io/dgo/v2/protos/api"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"

)
`
It seems that only v2 client can support operations on dgraph v1.1.*, but I find no v2 client under dgo directory

jgoodall commented :

This works for us:

import (
	dgo "github.com/dgraph-io/dgo/v2"
	dgoapi "github.com/dgraph-io/dgo/v2/protos/api"
)

with this in our go.mod:

github.com/dgraph-io/dgo/v2 v2.1.0

tamago-cn commented :

It works, thanks!