Using Gunk for the Go-derived syntax for Protocol Buffers to write microservices
summary
Gunk is a drop‑in Go syntax for Protocol Buffers that Brank.as uses across ~100+ repositories to standardize codegen and CI; files use Go types (type interface → service, struct → message) and +gunk annotations map to protobuf options. Workflow uses Go modules, a single .gunk config listing generators, and commands like gunk generate and gunk format (installable via go install gunk). It runs cross‑platform, converts existing .proto, generates Go/JS/Python/Swagger, and is proven in production for over a year (demo shows a working gRPC server and grpc‑curl request).
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 4:21Problem with protobuf workflow
- 9:20Introducing Gunk solution
- 12:48Gunk syntax and design
- 19:16Metadata and API definitions
- 22:53Gunk configuration and generation
- 25:21Implementing microservices
- 31:27Live demo of Gunk
- 41:31Adding new API endpoints
- 42:56Future of Gunk and hiring
related talks
38mMicroservices in Go using Micro
13mFrom Writing REST to Writing gRPC
56mGet Go-ing
16mTools for working with Go Code
39mGo + Microservices = Go Kit
31mBuilding a microservices architecture with Go
27mEvolution of serialization formats and usage in Go
59mBuilding Microservices w/gRPC & Kubernetes: A practical intro
