Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkstyle ¶
type Checkstyle struct {
Metadata lint.FormatterMetadata
}
Checkstyle is an implementation of the Formatter interface which formats the errors to Checkstyle-like format.
func (*Checkstyle) Format ¶
func (f *Checkstyle) Format(failures <-chan lint.Failure, config lint.RulesConfig) (string, error)
Format formats the failures gotten from the lint.
type Default ¶
type Default struct {
Metadata lint.FormatterMetadata
}
Default is an implementation of the Formatter interface which formats the errors to JSON.
type Friendly ¶
type Friendly struct {
Metadata lint.FormatterMetadata
}
Friendly is an implementation of the Formatter interface which formats the errors to JSON.
type JSON ¶
type JSON struct {
Metadata lint.FormatterMetadata
}
JSON is an implementation of the Formatter interface which formats the errors to JSON.
type NDJSON ¶
type NDJSON struct {
Metadata lint.FormatterMetadata
}
NDJSON is an implementation of the Formatter interface which formats the errors to NDJSON stream.
Click to show internal directories.
Click to hide internal directories.