645 B
645 B
Protocol Buffers for Codespaces
Instructions for generating and adding gRPC protocol buffers.
Generate Protocol Buffers
- Download
protoc - Download protocol compiler plugins for Go
- Run
./generate.shfrom theinternal/codespaces/grpcdirectory
Add New Protocol Buffers
- Download a
.protocontract from the service repo - Create a new directory and copy the
.prototo it - Update
generate.shto include the include the new.proto - Follow the instructions to Generate Protocol Buffers