Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivanitskiy/grpc-demo-go

A demo repo with gRPC with lints
https://github.com/ivanitskiy/grpc-demo-go

Last synced: 9 days ago
JSON representation

A demo repo with gRPC with lints

Awesome Lists containing this project

README

        

# grpc-demo-go

A a sample repository to demo how to write a sample gRPC service, lint proto files and compile

It uses [buf](https://buf.build/) and just regular [protoc](https://grpc.io/docs/protoc-installation/) to compile proto files.

Reference links:
- [awesome-grpc](https://github.com/grpc-ecosystem/awesome-grpc)
- [protoc-gen-validate](https://github.com/bufbuild/protoc-gen-validate) allows to add validation annotations and generate validation code
- [buf](https://buf.build) a collection of tools to worh with protocol buffers and gRPC
- [api-linter](https://github.com/googleapis/api-linter) API linter by Google
- [google API](https://github.com/googleapis/googleapis) - a collection of useful and reusable APIs and messages by Google
- [google-cloud-go](https://github.com/googleapis/google-cloud-go) - an example repository on how to build Client code
- [protobuf.dev](https://protobuf.dev)
- [grpc.io](https://grpc.io/)
- [a_bit_of_everything.proto](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/examples/internal/proto/examplepb/a_bit_of_everything.proto) - a complete proto example

A good way to add dependencies via `git submodule`:

git submodule add https://github.com/googleapis/googleapis
git submodule add https://github.com/bufbuild/protoc-gen-validate
git submodule update --remote