unusedvariable

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package unusedvariable defines an analyzer that checks for unused variables.

Index

Constants

View Source
const Doc = `check for unused variables

The unusedvariable analyzer suggests fixes for unused variables errors.
`

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "unusedvariable",
	Doc:              Doc,
	Requires:         []*analysis.Analyzer{},
	Run:              run,
	RunDespiteErrors: true,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL