Versions in this module Expand all Collapse all v1 v1.4.1 Jun 3, 2018 Changes in this version + const PresetBugs + const PresetComplexity + const PresetFormatting + const PresetPerformance + const PresetStyle + const PresetUnused + type Config struct + DoesFullImport bool + EnabledByDefault bool + InPresets []string + Linter Linter + NeedsSSARepr bool + OriginalURL string + Speed int + func NewConfig(linter Linter) *Config + func (lc Config) GetLinter() Linter + func (lc Config) GetSpeed() int + func (lc Config) NeedsProgramLoading() bool + func (lc Config) NeedsSSARepresentation() bool + func (lc Config) WithFullImport() Config + func (lc Config) WithPresets(presets ...string) Config + func (lc Config) WithSSA() Config + func (lc Config) WithSpeed(speed int) Config + func (lc Config) WithURL(url string) Config + type Context struct + ASTCache *astcache.Cache + Cfg *config.Config + LoaderConfig *loader.Config + NotCompilingPackages []*loader.PackageInfo + Paths *fsutils.ProjectPaths + Program *loader.Program + SSAProgram *ssa.Program + func (c *Context) Settings() *config.LintersSettings + type Linter interface + Desc func() string + Name func() string + Run func(ctx context.Context, lintCtx *Context) ([]result.Issue, error)