Documentation
¶
Overview ¶
Package sembr provides an analysis pass that checks Go comments for semantic line breaks as described by https://sembr.org.
Only the specification's absolute requirements are enforced. A line break MUST follow a sentence, and MUST NOT fall inside a hyphenated word. The rules governing clause boundaries are recommendations that cannot be decided without understanding the prose, and are left to the author.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{
Name: "sembr",
Doc: doc,
URL: "https://github.com/thde/sembr",
Run: run,
}
Analyzer checks comments for semantic line breaks.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.