Formatter represent a lint result formatter
| 33 | |
| 34 | // Formatter represent a lint result formatter |
| 35 | type Formatter interface { |
| 36 | // Name is a unique identifier for formatter |
| 37 | Name() string |
| 38 | |
| 39 | // Format formats the linter result |
| 40 | Format(result *Result) (string, error) |
| 41 | } |
| 42 | |
| 43 | // Rule represent a linter rule |
| 44 | type Rule interface { |
no outgoing calls
no test coverage detected