go-micro 集成consul的时候无法下载 github.com/asim/go-micro/plugins/registry/consul/v4 怎么解决
go-micro 集成consul的时候无法下载 github.com/asim/go-micro/plugins/registry/consul/v4
怎么解决呢?
go-micro 的作者修改了go-micro插件的地址
老地址
github.com/asim/go-micro/plugins/registry/consul/v4
新地址
"github.com/go-micro/plugins/v4/registry/consul"
把github.com/asim/go-micro/plugins/registry/consul/v4
改为"github.com/go-micro/plugins/v4/registry/consul"
就可以了