Documentation ¶
Index ¶
Constants ¶
View Source
const ( SlenCmd = "slen" SlenDescription = "verifies if slice len was checked before accessing the array" )
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: SlenCmd, Doc: SlenDescription, Run: run, }
Functions ¶
This section is empty.
Types ¶
type SlenAnalyzer ¶
type SlenAnalyzer struct {
// contains filtered or unexported fields
}
func NewSlenAnalyzer ¶
func NewSlenAnalyzer(pass *analysis.Pass, info *types.Info) *SlenAnalyzer
Click to show internal directories.
Click to hide internal directories.