Re: [go-nuts] SSH session.Setenv usage

2021-11-18 Thread Cobe Gu
Hi Brain, Nice to have your reply, yes, my fault, wrong paste. but still hard to see the root reason with a few error contents. as my understanding, Setenv has strong dependency on remote sshd config - AcceptEnv, if need to pass LC_TEST to remote, it must be configured in remote to accept i

[go-nuts] Re: Unable to create Api | Go Operator | Go issue

2021-11-18 Thread Dinesh kumar Ramasamy
I do see the same issue - No fix yet. On Monday, November 1, 2021 at 11:30:30 AM UTC-5 Vaishali Gupta wrote: > Hello Team > > getting below error while using below command > could you please help us what can be done to resolve this issue ? > > root@k8sopa1:~/projects/memcached-operator# operato

Re: [go-nuts] Amateur question: when you should use runes?

2021-11-18 Thread Jan Mercl
On Mon, Nov 15, 2021 at 7:00 PM Kamil Ziemian wrote: > ... when in practice you should use runes? For example the API of the unicode package uses runes extensively: https://pkg.go.dev/unicode. > My understanding at this moment is like that. Unicode assign every symbol a > number (at this momen

Re: [go-nuts] Amateur question: when you should use runes?

2021-11-18 Thread Brian Candler
The example given of using runes to split a string of digits into individual digits isn't a great one, because treating the string as an array of bytes would work just as well *in that situation* Where it matters is when you're processing a string with codepoints > 127, for example: "hellø wör