ch/updates protoc plugins in README.md

This commit is contained in:
itsscb 2023-10-07 01:02:59 +02:00
parent e961ed23fc
commit 1dff00ae49

View File

@ -72,11 +72,10 @@ Should you want to make changes you need further tools.
- [evans](https://github.com/ktr0731/evans): For testing gRPC endpoints - [evans](https://github.com/ktr0731/evans): For testing gRPC endpoints
- [protoc](https://grpc.io/docs/protoc-installation/): For generating code from `.proto`-files (gRPC) - [protoc](https://grpc.io/docs/protoc-installation/): For generating code from `.proto`-files (gRPC)
- *plugins*:``` - *plugins*:```
go install \ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \ github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \ google.golang.org/protobuf/cmd/protoc-gen-go@latest \
google.golang.org/protobuf/cmd/protoc-gen-go \ google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
google.golang.org/grpc/cmd/protoc-gen-go-grpc
``` ```
**Important**: If you install `protoc` on *fedora* you will need an additional package to make it work. Use the following command for setup: **Important**: If you install `protoc` on *fedora* you will need an additional package to make it work. Use the following command for setup: