From 497aeb12162904121fdcb86e05fafcc190f10a7b Mon Sep 17 00:00:00 2001 From: Nex Date: Mon, 7 Dec 2020 16:40:34 +0800 Subject: [PATCH] docs: update protoc-gen-go --- grpc/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grpc/README.md b/grpc/README.md index f5fc318..811b86f 100644 --- a/grpc/README.md +++ b/grpc/README.md @@ -12,9 +12,9 @@ See [API documentation](..\docs\apis.md) Download the [Protocol Buffers compiler](https://github.com/protocolbuffers/protobuf/releases) (protoc-3.13.0-*) for your platform and add `protoc` to `PATH` environment variable -For generating Go code, install `protoc-gen-go` (v1.32.0): +For generating Go code, install `protoc-gen-go` (v1.4.3): ```bash -GIT_TAG="v1.32.0" +GIT_TAG="v1.4.3" go get -d -u google.golang.org/protobuf/cmd/protoc-gen-go git -C "$(go env GOPATH)"/src/google.golang.org/protobuf checkout $GIT_TAG go install google.golang.org/protobuf/cmd/protoc-gen-go