x/tools/gopls: extract func/method arg(s) to struct #65552
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
help wanted
Refactoring
Issues related to refactoring tools
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Given something like this, where
timeout
is an option:When it's time to add another option, one might extract
timeout
to an options struct so it's then easy to add more things:A code action for this kind of extraction would be very helpful!
The text was updated successfully, but these errors were encountered: