Re: [go-nuts] unsafe string to []byte

2021-08-03 Thread Robert Engels
That’s cool. I don’t think most libraries using unsafe go to that level of detail or scrutiny - which can be the source of a lot of subtle failures. > On Aug 3, 2021, at 3:35 PM, 'Bryan C. Mills' via golang-nuts > wrote: > > For what it's worth, my unsafeslice.OfString makes a best effort

Re: [go-nuts] unsafe string to []byte

2021-08-03 Thread 'Bryan C. Mills' via golang-nuts
For what it's worth, my unsafeslice.OfString makes a best effort to detect mutations of the sort that would occur when a Write implementation violates the io.Writer contract. It allows for vary levels of safety. Under `-race` it

[go-nuts] [JOB] Signadot is Hiring Remote Golang Engineers

2021-08-03 Thread Arjun Iyer
Hi folks, Co-founder of Signadot here. We are on a mission to simplify cloud native development. Hiring Golang devs for our founding team. You'll get to work with ex-Google, Kubernetes contributors. JD here: https://www.workatastartup.com/jobs/42298 Feel free to apply above or email: info at

[go-nuts] Re: install klog error

2021-08-03 Thread Sean Liao
see https://github.com/kubernetes/klog/issues/241 use github.com/go-logr/logr @ v0.4.0 (which is the version declared by k8s.io/klog/v2) using `-u` to upgrade all of your dependencies including your indirect ones is probably not what you want On Tuesday, August 3, 2021 at 6:13:20 PM UTC+2