This repository contains all of the example code for the Buf tours and tutorials:
-
Buf CLI tour – Introduces you to key features of the Buf CLI, including generating code, detecting breaking changes, and linting and formatting your Protobuf files.
-
Buf Schema Registry (BSR) tour – Introduces you to key features of the BSR, including creating and publishing modules, managing dependencies, and using generated SDKs.
-
Breaking change detection tutorial – Walks you through common use cases for local breaking change detection.
-
Code linting tutorial – Demonstrates how the Buf CLI code linter can help ensure forward compatibility in your Protobuf files.
-
Buf plugin tutorial – Walks you through creating a custom lint rule using the Bufplugin framework.