compatcheck

command
v0.133.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 5 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 compatcheck reports whether a service's go.mod pins a go-common version that is missing a security fix go-common shipped.

go run github.com/baditaflorin/go-common/scripts/compatcheck@latest -gomod go.mod

Running it with @latest uses the newest manifest, which is the point: the floor moves forward as fixes ship, and a pinned copy of this tool would not know. Exit status: 0 ok (or not applicable), 1 below the floor, 2 could not check (`go run` reports every failure as 1; use a built binary to tell them apart).

Jump to

Keyboard shortcuts

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