3 ms·
The godoc format enforces that the comment start with the name of the identifier and be a complete sentence(s) describing what that identifier does. Predates LL
by jryio 6mo ago
The godoc format enforces that the comment start with the name of the identifier and be a complete sentence(s) describing what that identifier does. Predates LLMs
- badc0ffee 6mo agoI wouldn't say it enforces that the comment start with the name of the identifier. Maybe certain linter options enforce that? In https://go.dev/doc/comment https://go.dev/doc/comment it seems to be a convention, but there are a couple of examples there where the don't follow it.