godoclint

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command godoclint reports exported symbols that carry no useful documentation.

"Useful" is doing work in that sentence. A comment that restates the identifier — "Foo is Foo", "Get gets" — passes a presence check and tells a reader nothing, so this rejects it: a doc comment must say something the name does not already say. That is the difference between documentation and a lint-satisfying ritual.

Generated files are skipped. Their documentation is written once, in the generator, and checking every emitted copy of it would measure the same sentence a thousand times.

Jump to

Keyboard shortcuts

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