buf

command
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Command buf runs the pinned buf CLI (docs/PHASE3.md §4) for `task generate`: it downloads the release binary for this system once into .tools/, checks its SHA-256 against the pins below, and runs it in the repository root.

go run ./internal/tools/buf lint
go run ./internal/tools/buf generate

buf is a development tool only: it is never in go.mod and never in a binary. New version: change bufVersion and the sums (from the release's sha256.txt), and keep the two-week rule.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL