mapcheck

command
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: EPL-2.0 Imports: 9 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 mapcheck validates docs/code-map.md, the gowt feature-to-code map.

Three checks, all against the repository the command runs in:

  1. Repository paths named in map tables exist. Cells may use `*` globs, {a,b} brace lists and <name> placeholders; a glob must match at least one file, everything else must stat.
  2. Markdown links in the map resolve to an existing file or directory (anchors and link titles are ignored).
  3. Every Go package - the union of `go list ./...` over darwin, windows and linux - is listed in the curated `Packages:` metadata of at least one map section, and every listed package exists.

`go list` only feeds the set of packages to check; map rows and the Packages: lists are curated by hand in the map itself.

Jump to

Keyboard shortcuts

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