Skip to content

Commit d9d740d

Browse files
authored
Improved gRPC how-to in contributing guide (#2181)
1 parent 62f5caf commit d9d740d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Diff for: docs/CONTRIBUTING.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,13 @@ If you want to run integration tests you will also need:
7979

8080
If you're working on the gRPC interface you will also have to:
8181

82-
- download the [protoc][6] compiler
83-
- run `go get -u github.com/golang/protobuf/protoc-gen-go`
82+
- download and install the [protoc][6] compiler (use the version required to match the generated code, please note that
83+
the latest releases does not follow semantic versioning anymore so, for example, the version 3.21.12 must be searched
84+
as 21.12 dropping the major number)
85+
- install `protoc-gen-go` using: `go install google.golang.org/protobuf/cmd/[email protected]` (use the version
86+
required to match the generated code)
87+
- install `protoc-gen-go-grpc` using: `go install google.golang.org/grpc/cmd/[email protected]` (use the version
88+
required to match the generated code)
8489

8590
### Building the source code
8691

0 commit comments

Comments
 (0)