Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "prealloc"
Name is the name of the analyzer.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: Name, Doc: "Finds slice declarations that could potentially be preallocated", Run: run, }
Analyzer is the analyzer struct of prealloc.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.