From 1dff00ae49b6a7a7d7706769db56bea0ce9c3443 Mon Sep 17 00:00:00 2001 From: itsscb Date: Sat, 7 Oct 2023 01:02:59 +0200 Subject: [PATCH] ch/updates protoc plugins in README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c77492f..f5ca66a 100644 --- a/README.md +++ b/README.md @@ -72,11 +72,10 @@ Should you want to make changes you need further tools. - [evans](https://github.com/ktr0731/evans): For testing gRPC endpoints - [protoc](https://grpc.io/docs/protoc-installation/): For generating code from `.proto`-files (gRPC) - *plugins*:``` - go install \ - github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \ - github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \ - google.golang.org/protobuf/cmd/protoc-gen-go \ - google.golang.org/grpc/cmd/protoc-gen-go-grpc + go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest \ + github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@latest \ + google.golang.org/protobuf/cmd/protoc-gen-go@latest \ + google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest ``` **Important**: If you install `protoc` on *fedora* you will need an additional package to make it work. Use the following command for setup: