Open
Description
(This proposal is the second of a sequence of two; #73605 is the first. --adonovan)
Proposal Details
go fix
should have a type of fix called modernize
that applies modernizers.
As an example, running go fix
would change all occurrences of interface{}
to any
, provided the identifier any
is not shadowed.
For the current set of modernizers, see https://go.googlesource.com/tools/+/refs/heads/master/gopls/internal/analysis/modernize.
Metadata
Metadata
Labels
Type
Projects
Status
Incoming