Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "fact_deprecated", Doc: "Mark deprecated objects", Run: deprecated, FactTypes: []analysis.Fact{(*IsDeprecated)(nil)}, ResultType: reflect.TypeOf(Result{}), }
Functions ¶
This section is empty.
Types ¶
type IsDeprecated ¶
type IsDeprecated struct{ Msg string }
func (*IsDeprecated) AFact ¶
func (*IsDeprecated) AFact()
func (*IsDeprecated) String ¶
func (d *IsDeprecated) String() string
type Result ¶
type Result struct { Objects map[types.Object]*IsDeprecated Packages map[*types.Package]*IsDeprecated }
Click to show internal directories.
Click to hide internal directories.