Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ShowPass = true
ShowPass is a global that will turn on and off printing files that report success
Functions ¶
func LintFileList ¶
LintFileList simply takes a single Linter and runs it for each file
Types ¶
type Language ¶
type Language struct { Name string Match *regexp.Regexp // Regex to identify files Fmt Linter // Formatting tool Chk Linter // Convention linting tool - Errors on any problem }
Language is used to associate a file pattern to the relevant tools to check and format
Click to show internal directories.
Click to hide internal directories.