Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 605 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 605 Bytes

f1

prerequisites

homebrew

Install core proto compiler, and Go plugins:

brew install protoc-gen-go protoc-gen-go-grpc

compiling the protos

From the root of this repository, run:

protoc \
  --proto_path=proto \
  --go_out=proto \
  --go_opt=paths=source_relative \
  --go-grpc_out=proto \
  --go-grpc_opt=paths=source_relative \
  f1.proto

Then run cd go && go mod tidy to update the go.mod dependencies.

generating binary protos

From the root of this directory, run:

go run cmd/gen-binary-proto/main.go \
  --schedule_dest=./schedule/binaryproto