go gRPC example project
MIT License
Regenerate gRPC code Before you can use the new service method, you need to recompile the updated .proto file.
While still in the examples/helloworld directory, run the following command:
cd proto/models
ls | xargs -I {} mkdir -p ../generated/{}
ls | xargs -I {} protoc --go_out=../generated/{} --go_opt=paths=source_relative \
--go-grpc_out=../generated/{} --go-grpc_opt=paths=source_relative \
{}