ThreeDotsLabs / wild-workouts-go-ddd-example

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.
https://threedots.tech
MIT License
5.04k stars 464 forks source link

Plugins are no longer supported by protoc-gen-go package #39

Closed Orphail closed 2 years ago

Orphail commented 2 years ago

Plugins are no longer supported by protoc-gen-go. Instead, it requires a new tool called protoc-gen-go-grpc that will generate the gRPC specific code in a separated file.

The following command will install this protocol compiler plugin: $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

In order to generate .pb.go files we need to specify the --go-grpc_out argument in the protoc command as shown in this commit.

m110 commented 2 years ago

Thank you for the contribution @Orphail!