Go语言 etcd/clientv3报错: etcd undefined: resolver.BuildOption 故障描述 go语言版本 1go version 2go version go1.14 linux/amd64 经过测试,在macOS,Windows,Linux上都有这个问题 包管理器go mod 1module goAgent 2 3go 1.14 4 5require ( 6 github.com/Shopify/sarama v1.26.1 7 github.com/coreos/etcd v3.3.18+incompatible // indirect 8 github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect 9 github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect 10 github.com/go-ini/ini v1.52.0 11 github.com/gogo/protobuf v1.3.1 // indirect 12 github.com/google/uuid v1.1.1 // indirect 13 github.com/hpcloud/tail v1.0.0 14 go.etcd.io/etcd v3.3.18+incompatible 15 go.uber.org/zap v1.14.0 // indirect 16 google.golang.org/grpc v1.27.1 // indirect 17 gopkg.in/fsnotify.v1 v1.4.7 // indirect 18 gopkg.in/ini.v1……

阅读全文