[go-nuts] Re: I want to know the reason behind slices.Clone using append s[:0:0]

2024-10-01 Thread tapi...@gmail.com
s/hard/harm On Wednesday, October 2, 2024 at 12:50:59 PM UTC+8 tapi...@gmail.com wrote: > On Monday, September 30, 2024 at 1:51:17 PM UTC+8 Hikmatulloh Hari Mukti > (Hari) wrote: > > > Maybe I should apologize for the origin of this idea: > https://github.com/go101/go101/wiki/How-to-perfectly-c

[go-nuts] Re: I want to know the reason behind slices.Clone using append s[:0:0]

2024-10-01 Thread tapi...@gmail.com
On Monday, September 30, 2024 at 1:51:17 PM UTC+8 Hikmatulloh Hari Mukti (Hari) wrote: > Maybe I should apologize for the origin of this idea: https://github.com/go101/go101/wiki/How-to-perfectly-clone-a-slice%3F No worries, I learn a lot from articles you posted on go101.org, appreciate it.

Re: [go-nuts] Re: Why is go vet slow

2024-10-01 Thread Rob Pike
Try this go list ./... | sed 's/.*/echo &; time go vet & /' | sh -rob -- 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.

[go-nuts] Go 1.23.2 and Go 1.22.8 are released

2024-10-01 Thread announce
Hello gophers, We have just released Go versions 1.23.2 and 1.22.8, minor point releases. View the release notes for more information: https://go.dev/doc/devel/release#go1.23.2 You can download binary and source distributions from the Go website: https://go.dev/dl/ To compile from source using

[go-nuts] Re: Why is go vet slow

2024-10-01 Thread Kevin Chowski
Have you tried running it under strace or another tool which gives you insights about a running program?? On Monday, September 30, 2024 at 1:48:53 PM UTC-6 Amnon wrote: > go vet ./... has recently become very slow on my company's code-base > taking 20s to complete. > > Is there an easy way I can

[go-nuts] Re: Why is go vet slow

2024-10-01 Thread Marcello H
Perhaps you can do each check separately, that go vet does to find out if there's a particular check that is slow. Op maandag 30 september 2024 om 21:48:53 UTC+2 schreef Amnon: > go vet ./... has recently become very slow on my company's code-base > taking 20s to complete. > > Is there an easy w