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

docs: improve comments for functions; enable godot (#1382)

This commit is contained in:
Oleksandr Redko
2025-05-27 08:44:24 +03:00
committed by GitHub
parent 398f7a83eb
commit f4976873e7
49 changed files with 135 additions and 132 deletions

View File

@@ -1,13 +1,13 @@
package lint
// FormatterMetadata configuration of a formatter
// FormatterMetadata configuration of a formatter.
type FormatterMetadata struct {
Name string
Description string
Sample string
}
// Formatter defines an interface for failure formatters
// Formatter defines an interface for failure formatters.
type Formatter interface {
Format(<-chan Failure, Config) (string, error)
Name() string