Help us shape the future of Go! Take the 2026 Go Developer Survey

conventions

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package conventions holds tests that enforce the repository's own conventions — the ones that are house rules rather than compiler or linter rules, and that would otherwise be enforced only by whoever happens to review a diff.

It follows the precedent of TestHelp in internal/cmd/root, which turns the 40-line --help budget from a guideline into a failing build. A convention that only exists in agents/ drifts: the test files that predate the rules here are the evidence, and they are listed in the allowlists as the to-do list they are.

The package deliberately contains no production code — nothing imports it.

Jump to

Keyboard shortcuts

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