Documentation ¶
Overview ¶
Package predeclared provides a static analysis (used by the predeclared command) that can detect declarations in Go code that shadow one of Go's predeclared identifiers.
Index ¶
Constants ¶
View Source
const ( IgnoreFlag = "ignore" QualifiedFlag = "q" )
Flag names used by the analyzer. They are exported for use by analyzer driver programs.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{
Name: "predeclared",
Doc: "find code that shadows one of Go's predeclared identifiers",
Run: run,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.