Buf Has a Free API: Make Protocol Buffers Actually Developer-Friendly

go dev.to

Protobuf is powerful but painful. protoc plugins, code generation configs, import path hell — Buf fixes all of it. What Is Buf? Buf is a suite of tools for Protocol Buffers and gRPC: linting, breaking change detection, code generation, and a schema registry. Think ESLint + npm for protobuf. # Install npm install -g @bufbuild/buf # Initialize buf config init # Lint your .proto files buf lint # Generate code buf generate # Check for breaking changes buf breaking --against .git#b

Read Full Tutorial open_in_new
arrow_back Back to Tutorials