# Packages
Package deprecated defines an Analyzer that marks deprecated symbols and package imports.
Package embeddirective defines an Analyzer that validates //go:embed directives.
Package fillreturns defines an Analyzer that will attempt to automatically fill in a return statement that has missing values with zero value elements.
Package fillstruct defines an Analyzer that automatically fills in a struct declaration with zero value elements for each field.
Package fillswitch identifies switches with missing cases.
Package gofix defines an Analyzer that inlines calls to functions
and uses of constants
marked with a "//go:fix inline" doc comment.
Package hostport defines an analyzer for calls to net.Dial with addresses of the form "%s:%d" or "%s:%s", which work only with IPv4.
No description provided by the author
Package modernize providers the modernizer analyzer.
Package nonewvars defines an Analyzer that applies suggested fixes to errors of the type "no new variables on left side of :=".
Package noresultvalues defines an Analyzer that applies suggested fixes to errors of the type "no result values expected".
Package simplifycompositelit defines an Analyzer that simplifies composite literals.
Package simplifyrange defines an Analyzer that simplifies range statements.
Package simplifyslice defines an Analyzer that simplifies slice statements.
Package unusedfunc defines an analyzer that checks for unused functions and methods
# Analyzer unusedfunc
unusedfunc: check for unused functions and methods
The unusedfunc analyzer reports functions and methods that are never referenced outside of their own declaration.
Package unusedparams defines an analyzer that checks for unused parameters of functions.
Package unusedvariable defines an analyzer that checks for unused variables.
Package yield defines an Analyzer that checks for mistakes related to the yield function used in iterators.