-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(contrib/rpc/grpcx): use grpc.NewClient instead of grpc.Dial #3684
Conversation
…and improve some code indentations
@oldme-git 需要等待#3688 合并后更新该pr,同样放到 |
@oldme-git needs to wait for #3688 to be merged and then update the pr, and also put it into the |
@oldme-git #3688 已经合并,可更新该PR了。 |
@oldme-git #3688 has been merged and the PR can be updated. |
# Conflicts: # contrib/rpc/grpcx/go.mod # contrib/rpc/grpcx/go.sum
ok |
OK |
Dear reviewer:
升级依赖至 Go 1.21
在
rpc
的新版本中已经弃用grpc.Dial
:https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
另外,减少了一些代码的缩进