Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Assignees No one assigned Labels P2 Type: Feature Projects None yet Milestone No milestone Development Successfully merging a pull request may close this issue. cmd/protoc-gen-go-grpc: ...
GOLDENFILE="examples/route_guide/routeguide/route_guide_grpc.pb.go" 0 comments on commit 3196f7a Please sign in to comment. Footer © 2024 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact Manage cookies Do not share my personal information ...
go get -u github.com/golang/protobuf/{proto,protoc-gen-go} 有一个文件夹,我想,我需要的一切。我的 bashrc 配置(尝试了几种方法,所以事情相互重叠):/home/deckard/go/src/github.com/golang/protobuf/home/deckard/go/src/google.golang.org/protobuf/home/deckard/go/src/google.golang.org/protobuf...
✓ 已被采纳 好的,刚刚发现,根据 https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0 v1.20 protoc-gen-go 不支持生成gRPC服务定义。未来,gRPC 服务生成将由 Go gRPC 项目提供的新的 protoc-gen-go-grpc 插件支持。 github.com/golang/protobuf 版本的 protoc-gen-go 继续支持 gRPC,并...
一、install protocol buffer compiler PB_REL="https://github.com/protocolbuffers/protobuf/releases" curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip unzip protoc-3.15.8-linux-x86_64.zip -d /user/local/protoc-3.15.8 ...
https://github.com/grpc/grpc-go这里的代码对应的包名是:google.golang.org/grpc 这里只是一些公共函数库, protoc 和 protoc-gen-go 这两个工具都不在这里。 产生protoc-gen-go 这个工具的方法如下: $ go get -u github.com/golang/protobuf/protoc-gen-go...
项目地址:🎉 An awesome version control tool for protoc and its related plugins. (github.com/storyicon/powerproto) PowerProto主要用于解决下面三个问题: 降低gRPC的使用门槛与使用成本。 解决protoc以及其相关插件(比如protoc-gen-go、protoc-gen-grpc-gateway)的版本控制问题。
https://github.com/grpc/grpc-java/tree/master/compiler 编译的步骤: Change to thecompilerdirectory: $ cd $GRPC_JAVA_ROOT/compiler 1. To compile the plugin: $ ../gradlew java_pluginExecutable 1. To test the plugin with the compiler: ...
由于protoc-gen-go-grpc 无法直接通过 GitHub 下载二进制文件,因此推荐使用 go install 命令进行安装。运行以下命令来安装 protoc-gen-go-grpc: bash go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest 或者,你可以指定一个特定的版本来安装,例如: bash go install google.golang.org/grpc/cmd...
https://github.com/protocolbuffers/protobuf/releases/download/v3.12.3/protoc-3.12.3-win64.zip 解压后,放到$GOPATH/bin目录下即可 image 3、如何生成protoc-gen-go-grpc ? 目前在github上,还没有提供release版本,需要自己根据源码生成 https://www.grpc.io/docs/languages/go/quickstart/ ...