I have been trying to use *"github.com/coreos/etcd/clientv3" for creating a microservice * but while "go build" It shows the following error.
*cannot use auth.callOpts (type []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as type []"go.etcd.io/etcd/vendor/google.golang.org/grpc".CallOption in argument to auth.remote.AuthEnable* # github.com/coreos/etcd/clientv3 > > ..\..\github.com\coreos\etcd\clientv3\auth.go:125:72: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.AuthEnable > ..\..\github.com\coreos\etcd\clientv3\auth.go:130:74: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.AuthDisable > ..\..\github.com\coreos\etcd\clientv3\auth.go:135:72: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.AuthStatus > ..\..\github.com\coreos\etcd\clientv3\auth.go:140:152: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grp > c".CallOption in argument to auth.remote.UserAdd > ..\..\github.com\coreos\etcd\clientv3\auth.go:145:144: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grp > c".CallOption in argument to auth.remote.UserAdd > ..\..\github.com\coreos\etcd\clientv3\auth.go:150:86: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.UserDelete > ..\..\github.com\coreos\etcd\clientv3\auth.go:155:122: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grp > c".CallOption in argument to auth.remote.UserChangePassword > ..\..\github.com\coreos\etcd\clientv3\auth.go:160:104: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grp > c".CallOption in argument to auth.remote.UserGrantRole > ..\..\github.com\coreos\etcd\clientv3\auth.go:165:80: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.UserGet > ..\..\github.com\coreos\etcd\clientv3\auth.go:170:72: cannot use > auth.callOpts (type > []"github.com/coreos/etcd/vendor/google.golang.org/grpc".CallOption) as > type []"go.etcd.io/etcd/vendor/google.golang.org/grpc > ".CallOption in argument to auth.remote.UserList > ..\..\github.com\coreos\etcd\clientv3\auth.go:170:72: too many errors > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/8b2c5634-3d48-40dc-a5bb-1ff70715b17f%40googlegroups.com.
