github.com/ferretdb/golangci-lint@v1.10.1/pkg/lint/linter/linter.go (about) 1 package linter 2 3 import ( 4 "context" 5 6 "github.com/golangci/golangci-lint/pkg/result" 7 ) 8 9 type Linter interface { 10 Run(ctx context.Context, lintCtx *Context) ([]result.Issue, error) 11 Name() string 12 Desc() string 13 }