protolint
grpc-blog
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
protolint
-
Understanding gRPC Concepts, Use Cases & Best Practices
protolint - a plugin to add lint rules to proto files.
-
gRPC proto files Best Practices
We use protolint to lint the proto files. Please download and install protolint from https://github.com/yoheimuta/protolint/releases.
- Pluggable linting utility for Protocol Buffer files
grpc-blog
-
Understanding gRPC Concepts, Use Cases & Best Practices
Once the developer has created the Protocol Buffer file(s) with all messages, we can use a ‘protocol buffer compiler’ (a binary) to compile the written protocol buffer file, which will generate all the utility classes and methods which are needed to work with the message. For example, as shown in the above Person message, depending on the chosen language, the generated code will look like this.
What are some alternatives?
go-exhaustruct - golang analyzer that finds structures with uninitialized fields
go-proto-validators - Generate message validators from .proto annotations.
protolock - Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility.
evans - Evans: more expressive universal gRPC client
goprotobuf - Go support for Google's protocol buffers
pre-commit - A framework for managing and maintaining multi-language pre-commit hooks.
Protobuf - Protocol Buffers - Google's data interchange format
dep-tree - tool for helping developers keep their code bases clean and decoupled. It allows visualising a "code base entropy" using a 3d force-directed graph of files and the dependencies between.
Newman - Newman is a command-line collection runner for Postman
go-grpc-middleware - Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.