cli/internal/codespaces/grpc/generate.md
2022-11-04 20:30:41 +00:00

645 B

Protocol Buffers for Codespaces

Instructions for generating and adding gRPC protocol buffers.

Generate Protocol Buffers

  1. Download protoc
  2. Download protocol compiler plugins for Go
  3. Run ./generate.sh from the internal/codespaces/grpc directory

Add New Protocol Buffers

  1. Download a .proto contract from the service repo
  2. Create a new directory and copy the .proto to it
  3. Update generate.sh to include the include the new .proto
  4. Follow the instructions to Generate Protocol Buffers