Documentation ¶
Overview ¶
Package lintutil provides helpers for writing linter command lines.
Index ¶
- func FlagSet(name string) *flag.FlagSet
- func InitializeAnalyzers(docs map[string]*lint.Documentation, analyzers map[string]*analysis.Analyzer) map[string]*analysis.Analyzer
- func Lint(cs []*analysis.Analyzer, cums []lint.CumulativeChecker, paths []string, ...) ([]lint.Problem, error)
- func NewVersionFlag() flag.Getter
- func ProcessFlagSet(cs []*analysis.Analyzer, cums []lint.CumulativeChecker, fs *flag.FlagSet)
- type Options
- type VersionFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeAnalyzers ¶
func NewVersionFlag ¶
func ProcessFlagSet ¶
Types ¶
type VersionFlag ¶
type VersionFlag int
func (*VersionFlag) Get ¶
func (v *VersionFlag) Get() interface{}
func (*VersionFlag) Set ¶
func (v *VersionFlag) Set(s string) error
func (*VersionFlag) String ¶
func (v *VersionFlag) String() string
Click to show internal directories.
Click to hide internal directories.