go: finding module for package go.etcd.io/etcd/etcdserver/api/snap
consensus/etcdraft/storage.go:19:2: module go.etcd.io/etcd@latest found (v3.3.20+incompatible), but does not contain package go.etcd.io/etcd/etcdserver/api/snap
replace this :
go.etcd.io/etcd v3.3.20+incompatible
to :
go.etcd.io/etcd v0.5.0-alpha.5.0.20181228115726-23731bf9ba55
replace go.etcd.io/etcd v3.3.20+incompatible => go.etcd.io/etcd v0.5.0-alpha.5.0.20181228115726-23731bf9ba55
最后
go mod tidy
网友评论