The purpose of this repository is to demonstrate how to use the services offered by buf.build for hosting protobuffer definitions and automatic code generation for protobuffers and gRPC services.
This means that the developer does not have to:
- install the
- does not have to deal directly with the
- does not have to do code generation
If you have Go and make installed you should be able to just execute
to build the project. The binaries will be in
How do you use it?
If you look in cmd/server/main.go you simply add
"go.buf.build/library/go-grpc/borud/gwp" to your imports, run
go mod tidy and that's that. Now you can use all the generated types from the project.
The docs for the API are hosted here.
Limited to Go (for now)
For now code generation is only offered for Go, but C++ and other languages are on their way.