github.com/alecthomas/golangci-lint@v1.4.2-0.20180609094924-581a3564ff68/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  }