Documentation ¶
Overview ¶
Package unused contains code for finding unused code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &lint.Analyzer{ Doc: &lint.Documentation{ Title: "Unused code", }, Analyzer: &analysis.Analyzer{ Name: "U1000", Doc: "Unused code", Run: run, Requires: []*analysis.Analyzer{buildir.Analyzer, generated.Analyzer, directives.Analyzer}, ResultType: reflect.TypeOf(Result{}), }, }
View Source
var Debug io.Writer
Functions ¶
This section is empty.
Types ¶
type SerializedObject ¶
type SerializedResult ¶
type SerializedResult struct { Used []SerializedObject Unused []SerializedObject }
Click to show internal directories.
Click to hide internal directories.