docs: update protoc-gen-go

This commit is contained in:
Nex 2020-12-07 16:40:34 +08:00
parent b182e369c6
commit 497aeb1216

View File

@ -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