generate go files by the protoc-gen-go owned by Google
go install google.golang.org/protobuf/cmd/protoc-gen-go go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
protoc --go_out=. eventmesh-client.proto protoc --go-grpc_out=. eventmesh-client.proto
if you use the latest version protoc-gen-go, and generate by the old command, you will got these error:
--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC