1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

Implement command line arguments

This commit is contained in:
mgechev
2018-01-27 16:22:17 -08:00
parent a227153bc2
commit 8746067321
8 changed files with 218 additions and 106 deletions

View File

@@ -9,5 +9,6 @@ type FormatterMetadata struct {
// Formatter defines an interface for failure formatters
type Formatter interface {
Format(<-chan Failure, RulesConfig) string
Format(<-chan Failure, RulesConfig) (string, error)
Name() string
}