On Tuesday, September 7th, 2021 at 08:55, Kurtis Rader <kra...@skepticism.us> 
wrote:

> It does. SeeĀ https://pkg.go.dev/strconv#Unquote. Try this hastily thrown 
> together example:
>
> package main
>
> import (
>       "fmt"
>       "strconv"
> )
>
> func main() {
>       e := strconv.Quote("a\033\r\nb")
>       v, err := strconv.Unquote(e)
>       fmt.Printf("%v .%v. .%v.\n", err, e, v)
> }

This is silly. I want to be able to pass any valid string and get a result.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/pz2oraK8vZf-DrRx7KPtu4jBHGDNsku0W-yD53aDGaNa8Z9iZIHZQSAe_tz_a51qdA7iGww7BXgguCuQ40rCcZR2_2v5Ytw8on6dCfLkvMw%3D%40protonmail.com.

Reply via email to