protoc

Create a code generator with protoc

Posted on 08 May 2021 - 2 min read

If your system happens to have a microservices architecture, you may find it repetitive to scaffold new services or to add new endpoints. In such scenarios, Protocol Buffer emerges to be an excellent choice for writing API contracts and generating code. However, you sometimes may want to add a custom code but you're not sure how to to that. Actually, it's quite simple with `protoc` though. In this post, we will walk through how to create a code generator with protoc. [Read more]

Tagged with: go, golang, protoc, protobuf, code-generator, protocol-buffer

Bong Nguyen © 2016 - 2022