analysis/ directory

Directories

PathSynopsis
internal/lsp/analysis/fillreturnsPackage fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
internal/lsp/analysis/fillstructPackage fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
internal/lsp/analysis/infertypeargsPackage infertypeargs defines an analyzer that checks for explicit function arguments that could be inferred.
internal/lsp/analysis/nonewvarsPackage nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
internal/lsp/analysis/noresultvaluesPackage noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
internal/lsp/analysis/simplifycompositelitPackage simplifycompositelit defines an Analyzer that simplifies composite literals.
internal/lsp/analysis/simplifyrangePackage simplifyrange defines an Analyzer that simplifies range statements.
internal/lsp/analysis/simplifyslicePackage simplifyslice defines an Analyzer that simplifies slice statements.
internal/lsp/analysis/stubmethods
internal/lsp/analysis/undeclarednamePackage undeclaredname defines an Analyzer that applies suggested fixes to errors of the type "undeclared name: %s".
internal/lsp/analysis/unusedparamsPackage unusedparams defines an analyzer that checks for unused parameters of functions.
internal/lsp/analysis/useanyPackage useany defines an Analyzer that checks for usage of interface{} in constraints, rather than the predeclared any.
Version
v0.1.10
Published
Mar 15, 2022
Platform
js/wasm
Last checked
6 hours ago

Tools for package owners.