Documentation ¶
Index ¶
- Variables
- func ExtractDiagnosticFromPatch(pass *analysis.Pass, file *ast.File, patch string, lintCtx *linter.Context) error
- func FormatCode(code string, _ *config.Config) string
- func GetGoFileNames(pass *analysis.Pass) []string
- func SetupStaticCheckAnalyzers(src []*lint.Analyzer, 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 ExtractDiagnosticFromPatch ¶ added in v1.63.0
func GetGoFileNames ¶ added in v1.63.4
func StaticCheckConfig ¶
func StaticCheckConfig(settings *config.StaticCheckSettings) *scconfig.Config
Types ¶
Click to show internal directories.
Click to hide internal directories.