1
0
mirror of https://github.com/mgechev/revive.git synced 2025-03-29 21:47:12 +02:00
revive/linter/formatter.go
2018-01-23 17:14:23 -08:00

14 lines
278 B
Go

package linter
// FormatterMetadata configuration of a formatter
type FormatterMetadata struct {
Name string
Description string
Sample string
}
// Formatter defines an interface for failure formatters
type Formatter interface {
Format(<-chan Failure) string
}