You need to install the following tools to build locally:
- The protoc compiler.
- The compiler plugins. These are pinned in the
tooldirective ofgo.mod, so the simplest way to install all of them at their pinned versions is (Go 1.24+):
$ go install toolOr install them individually:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
$ go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@latest
$ go install github.com/google/gnostic/cmd/protoc-gen-openapi@latestOpenAPI generation uses gnostic's protoc-gen-openapi (OpenAPI v3), not grpc-gateway's protoc-gen-openapiv2 (Swagger 2.0).
- The buf tool.
Then run:
$ buf format -w && buf dep update && buf generateCI build auto-updates the jennah-sdk-go repo.