We need some things like protoc-gen-* to generate grpc stuff
3. Generate .pb.go
When you have set your go_package as following:
This will generate your nodes.pb.go file under ./nodes directory. To do this, execute following command in the same directory where your nodes.proto resides in:
This will generate the .pb.go file for gRPC
4. Generate _grpc.pb.go
Just like .pb.go, following command will generate nodes_grpc.pb.go under ./nodes directory. To do this, execute following command in the same directory where your nodes.proto resides in: