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

Directories

PathSynopsis
fillreturnsPackage fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
fillstructPackage fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
nonewvarsPackage nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
noresultvaluesPackage noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
simplifycompositelitPackage simplifycompositelit defines an Analyzer that simplifies composite literals.
simplifyrangePackage simplifyrange defines an Analyzer that simplifies range statements.
simplifyslicePackage simplifyslice defines an Analyzer that simplifies slice statements.
undeclarednamePackage undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s".
unusedparamsPackage unusedparams defines an analyzer that checks for unused parameters of functions.

Updated 2020-10-27. Refresh now. Tools for package owners.