我是靠谱客的博主 懵懂自行车,最近开发中收集的这篇文章主要介绍undefined: resolver.ResolveNowOption,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

go get go.etcd.io/etcd/clientv3
# github.com/coreos/etcd/clientv3/balancer/resolver/endpoint
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerresolverendpointendpoint.go:114:78: undefined: resolver.BuildOption
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerresolverendpointendpoint.go:182:31: undefined: resolver.ResolveNowOption
# github.com/coreos/etcd/clientv3/balancer/picker
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerpickererr.go:37:44: undefined: balancer.PickOptions
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerpickerroundrobin_balanced.go:55:54: undefined: balancer.PickOptions
: undefined: resolver.ResolveNowOption
# github.com/coreos/etcd/clientv3/balancer/picker
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerpickererr.go:37:44: undefined: balancer.PickOptions
C:Usersgaoevgopkgmodgithub.comcoreosetcd@v3.3.27+incompatibleclientv3balancerpickerroundrobin_balanced.go:55:54: undefined: balancer.PickOptions

go mod 文件中添加 replace google.golang.org/grpc => google.golang.org/grpc v1.26.0

最后

以上就是懵懂自行车为你收集整理的undefined: resolver.ResolveNowOption的全部内容,希望文章能够帮你解决undefined: resolver.ResolveNowOption所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(37)

评论列表共有 0 条评论

立即
投稿
返回
顶部