Documentation ¶
Index ¶
- Variables
- func ExtractIssuesFromPatch(patch string, lintCtx *linter.Context, linterName string, ...) ([]result.Issue, error)
- func FormatCode(code string, _ *config.Config) string
- func GetFileNames(pass *analysis.Pass) []string
- func GetGoVersion(settings *config.StaticCheckSettings) string
- func SetAnalyzerGoVersion(a *analysis.Analyzer, goVersion string)
- func SetupStaticCheckAnalyzers(src []*lint.Analyzer, goVersion string, checks []string) []*analysis.Analyzer
- func StaticCheckConfig(settings *config.StaticCheckSettings) *scconfig.Config
- type Change
Constants ¶
This section is empty.
Variables ¶
View Source
var LinterLogger = logutils.NewStderrLog(logutils.DebugKeyLinter)
LinterLogger must be use only when the context logger is not available.
Functions ¶
func ExtractIssuesFromPatch ¶
func GetFileNames ¶
func GetGoVersion ¶
func GetGoVersion(settings *config.StaticCheckSettings) string
func SetAnalyzerGoVersion ¶
func StaticCheckConfig ¶
func StaticCheckConfig(settings *config.StaticCheckSettings) *scconfig.Config
Types ¶
Click to show internal directories.
Click to hide internal directories.