Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
func Main(runner LinterRunner)
Main reads the request from STDIN, runs the linter plugin, and writes the response to STDOUT.
Types ¶
type LinterRunner ¶
type LinterRunner interface { // Runs the linter with a provided linter request. Run(request *style.LinterRequest) (*style.LinterResponse, error) }
LinterRunner is an interface through which a linter executes.
Click to show internal directories.
Click to hide internal directories.