Back to godoc.org

Directory golang.org/x/tools/internal/lsp/analysis

v0.0.0-...-ba800b1
Latest Go to latest

The latest major version is .

Published: 1 hour ago | License: BSD-3-Clause | Module: golang.org/x/tools
Path Synopsis
fillreturns Package fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
fillstruct Package fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
nonewvars Package nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
noresultvalues Package noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
simplifycompositelit Package simplifycompositelit defines an Analyzer that simplifies composite literals.
simplifyrange Package simplifyrange defines an Analyzer that simplifies range statements.
simplifyslice Package simplifyslice defines an Analyzer that simplifies slice statements.
undeclaredname Package undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s".
unusedparams Package unusedparams defines an analyzer that checks for unused parameters of functions.