Documentation ¶
Overview ¶
Package deprecated defines an Analyzer that marks deprecated symbols and package imports.
Analyzer deprecated ¶
deprecated: check for use of deprecated identifiers
The deprecated analyzer looks for deprecated symbols and package imports.
See https://go.dev/wiki/Deprecated to learn about Go's convention for documenting and signaling deprecated identifiers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "deprecated", Doc: analysisinternal.MustExtractDoc(doc, "deprecated"), Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: checkDeprecated, FactTypes: []analysis.Fact{(*deprecationFact)(nil)}, RunDespiteErrors: true, URL: "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/deprecated", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.