Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrAlign = "inconsistent struct field align" ErrIndent = "incorrect indent" ErrLiteral = "literal struct types are not allowed, use typedef" ErrNoEofNl = "no newline at file end" ErrNoSpace = "missing space" ErrSameLine = "must be on a separate line" ErrSpaces = "spacing must be exactly one space symbol" ErrTab = "no tabs allowed" ErrTrailSpace = "trailing spaces are not allowed" ErrWrongSpace = "excess space" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportLine ¶
func CheckFile ¶
func CheckFile(name string) ([]ReportLine, error)
Click to show internal directories.
Click to hide internal directories.