Documentation ¶
Overview ¶
Package lll provides validation functions regarding line length
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Process ¶
func Process(r io.Reader, w io.Writer, path string, maxLength, tabWidth int, exclude *regexp.Regexp) error
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 ¶
ShouldSkip checks the input and determines if the path should be skipped. Use the SkipList to quickly skip paths. All directories are skipped, only files are processed. If GoOnly is supplied check that the file is a go file. Otherwise check so the file is a "text file".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.