package assign

import "golang.org/x/tools/go/analysis/passes/assign"

Package assign defines an Analyzer that detects useless assignments.

Index

Constants

const Doc = "" /* 186 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
	Name:     "assign",
	Doc:      Doc,
	Requires: []*analysis.Analyzer{inspect.Analyzer},
	Run:      run,
}

Source Files

assign.go

Version
v0.3.0
Published
Nov 9, 2022
Platform
js/wasm
Imports
9 packages
Last checked
5 hours ago

Tools for package owners.