Documentation
¶
Overview ¶
Command checkpins verifies that every services/<svc>/PARITY.md sdk_module front-matter pin (aws-sdk-go-v2/service/<name>@v<version>) 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.
Click to show internal directories.
Click to hide internal directories.