GO —— 操作 etcd 代码问题

问题:

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"
posted @ 2022-01-14 17:06  pythoner_wl  阅读(82)  评论(0编辑  收藏  举报