You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose to drop the distinction between a quoted string and a bare literal, with the restriction that literals must not include any kind of unicode space, nor U+0022 (") nor U+0060 (`). Then this file can be shortened to (and would be rewritten canonically as):
Not quoting should make it easier to copy and paste from the command line or from substrings of import paths or from "go list -m" output. Backslashes are allowed in literals and stand for themselves, so that you can write
replace rsc.io/quote v1.5.2 => c:\work\quote
If you need a space in the path in that form then it's still necessary to quote:
Here's a short go.mod:
I propose to drop the distinction between a quoted string and a bare literal, with the restriction that literals must not include any kind of unicode space, nor U+0022 (") nor U+0060 (`). Then this file can be shortened to (and would be rewritten canonically as):
Not quoting should make it easier to copy and paste from the command line or from substrings of import paths or from "go list -m" output. Backslashes are allowed in literals and stand for themselves, so that you can write
If you need a space in the path in that form then it's still necessary to quote:
The text was updated successfully, but these errors were encountered: