问题:
cannot use cli (type *"go.etcd.io/etcd/clientv3".Client) as type *"github.com/coreos/etcd/clientv3".Client in argument to concurrency.NewSession
解决:更换为指定模块
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"
问题:
cannot use cli (type *"go.etcd.io/etcd/clientv3".Client) as type *"github.com/coreos/etcd/clientv3".Client in argument to concurrency.NewSession
解决:更换为指定模块
"github.com/coreos/etcd/clientv3"
"github.com/coreos/etcd/clientv3/concurrency"