godoc_tool

command
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Command godoc_tool is the consolidated Go documentation auditor and fixer. It combines the read-only audit (formerly audit_godocs — reports missing or malformed doc comments) and the in-place fixer (formerly add_docs — generates and inserts godoc-compliant comments) behind two subcommands.

Usage:

godoc_tool audit [--format markdown|json] [--output path] [--fail-on-findings]
godoc_tool fix [--dry-run] <paths...>

The audit subcommand's flags match the former audit_godocs binary exactly. The fix subcommand gains a --dry-run flag (prints what would change without writing files) that the former add_docs binary lacked.

Jump to

Keyboard shortcuts

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