Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
Process checks all lines in the reader and writes an error if the line length is greater than MaxLength.
func ProcessFile ¶
ProcessFile checks all lines in the file and writes an error if the line length is greater than MaxLength.
func ShouldSkip ¶
func ShouldSkip(path string, isDir bool, skipList []string, goOnly bool, skipTests bool) (bool, error)
ShouldSkip checks a path and determines if it should be skipped. SkipList contains paths to be skipped skip. All directories are skipped, only files are processed. If GoOnly is true, non-go files are skipped. Otherwise, checks that file is readable text file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.