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
There does not seem to be a way to insert a literal $ into the expanded string. With other types of exapantions it is usual to be able to escape the $ with \ or maybe even $$ but none of these work
What version of Go are you using (go version)?
$ go version
go version go1.14.2 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
There does not seem to be a way to insert a literal $ into the expanded string. With other types of exapantions it is usual to be able to escape the $ with \ or maybe even $$ but none of these work
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/Z2Z86w7ukwe
What did you expect to see?
I expected to see "hello $world" (i.e. the $ should be kept literally)
What did you see instead?
Hello \
The text was updated successfully, but these errors were encountered: