摘要: package main import ( "fmt" "context" "time" "github.com/coreos/etcd/clientv3" // "github.com/coreos/etcd/clientv3/concurrency" "log" ) func main(){ c 阅读全文
posted @ 2022-01-14 17:45 pythoner_wl 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 问题: cannot use cli (type *"go.etcd.io/etcd/clientv3".Client) as type *"github.com/coreos/etcd/clientv3".Client in argument to concurrency.NewSession 解 阅读全文
posted @ 2022-01-14 17:06 pythoner_wl 阅读(82) 评论(0) 推荐(0) 编辑
摘要: undefined: resolver.BuildOption 在用clientv3连接etcd时。 C:\Users\anmut\go\pkg\mod\github.com\coreos\etcd@v3.3.22+incompatible\clientv3\balancer\resolver\en 阅读全文
posted @ 2022-01-14 11:58 pythoner_wl 阅读(133) 评论(0) 推荐(0) 编辑