package assign

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

Package assign defines an Analyzer that detects useless assignments.

Index

Package Files

assign.go

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,
}

Package assign imports 8 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

.
Tools for package owners.