etcd goland 客户端操作demo,put、get、del & lease相关
首先要下载依赖go get -u go.etcd.io/etcd/client/v3相关操作demo如下:package mainimport ( "fmt" clientv3 "go.etcd.io/etcd/client/v3" "golang.org/x/net/context" "sync" "time")var wg sync.WaitGroupfunc main() { // 创建连接