package sa4001
import "honnef.co/go/tools/staticcheck/sa4001"
Index ¶
Variables ¶
var Analyzer = SCAnalyzer.Analyzer
var SCAnalyzer = lint.InitializeAnalyzer(&lint.Analyzer{ Analyzer: &analysis.Analyzer{ Name: "SA4001", Run: run, Requires: []*analysis.Analyzer{inspect.Analyzer}, }, Doc: &lint.RawDocumentation{ Title: `\'&*x\' gets simplified to \'x\', it does not copy \'x\'`, Since: "2017.1", Severity: lint.SeverityWarning, MergeIf: lint.MergeIfAny, }, })
Source Files ¶
sa4001.go
- Version
- v0.5.0-rc.1
- Published
- Jul 1, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 23 minutes ago –
Tools for package owners.