x/tools/gopls: simplify interpreted string literals by converting to raw string literals #71480
Labels
gopls
Issues related to the Go language server, gopls.
Proposal
ToolProposal
Issues describing a requested change to a Go tool or command-line program.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Proposal Details
Proposal
Interpreted string literals with escaped double quotes and/or backslashes unnecessarily reduce readability. I propose an analyzer be added to gopls that simplifies such string literals by converting them to raw string literals.
Example
Suggested fixes:
The text was updated successfully, but these errors were encountered: