Re:Show HN: Create a full language server in Go with 3.17 sp...
by jryio on Sunday March 29, 2026 @11:52AM
(#47564220)
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
[ Parent
| on HN ]
Re:Show HN: Create a full language server in Go with 3.17 sp...
by badc0ffee on Sunday March 29, 2026 @04:50PM
(#47567171)
I 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 it seems to be a convention, but there are a couple of examples there where the don't follow it.