diff --git a/tools/tools.go b/tools/tools.go index 32e649c277..4aa418ce4c 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -17,5 +17,8 @@ import ( _ "github.com/golang/protobuf/protoc-gen-go" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway" _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger" + // use this instead of google.golang.org/protobuf/cmd/protoc-gen-go since this supports grpc plugin while the other does not. + // see https://github.com/golang/protobuf/releases#v1.4-generated-code and + // https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support _ "github.com/golang/protobuf/protoc-gen-go" )