checkpins

command
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command checkpins verifies that every services/<svc>/PARITY.md sdk_module front-matter pin (aws-sdk-go-v2/service/<name>@v<version>, or azure-sdk-for-go/sdk/<path>@v<version> for Azure-backed services) matches the version go.mod actually requires for that module. A stale pin silently undermines every wire-shape claim in the file, since those claims were checked against the pinned version, not whatever go.mod carries now.

Usage:

go run ./cmd/checkpins

Exits non-zero if any PARITY.md pin disagrees with go.mod, if a recorded module isn't in go.mod without documenting why (see isModuleCacheOnly), or if sdk_module is missing or has no parseable @version — an unverifiable pin is exactly the failure mode this check exists to catch, not a case to wave through.

Jump to

Keyboard shortcuts

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