[go-nuts] Re: Function to escape and unscape string

2021-09-05 Thread jake...@gmail.com
On Sunday, September 5, 2021 at 12:56:07 AM UTC-4 tapi...@gmail.com wrote: > This is a known problem: https://github.com/golang/go/issues/8618 > I looks the root cause is reflect.TypeOf and ValueOf make the values > referenced by the arguments escape, though often this is over-cautious. > I

[go-nuts] Re: Function to escape and unscape string

2021-09-04 Thread tapi...@gmail.com
This is a known problem: https://github.com/golang/go/issues/8618 I looks the root cause is reflect.TypeOf and ValueOf make the values referenced by the arguments escape, though often this is over-cautious. On Sunday, August 29, 2021 at 3:02:42 PM UTC-4 nadashin wrote: > fmt.Printf has a format

[go-nuts] Re: Function to escape and unscape string

2021-08-29 Thread 'nadashin' via golang-nuts
> I couldn't find any stdlib function that escape and unescape a string > following Go syntax. (and doesn't add quotes around the string) If the stdlib doesn't have such functions I am proposing to add them. -- You received this message because you are subscribed to the Google Groups