package
Version:
v0.18.0-pre.3
Opens a new window with list of versions in this module.
Published: Feb 13, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package unusedvariable defines an analyzer that checks for unused variables.
View Source
const Doc = `check for unused variables and suggest fixes`
View Source
var Analyzer = &analysis.Analyzer{
Name: "unusedvariable",
Doc: Doc,
Requires: []*analysis.Analyzer{},
Run: run,
RunDespiteErrors: true,
URL: "https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/unusedvariable",
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.