Re: [go-nuts] Incorrect time zone DST for America/Sao_Paulo

2022-07-26 Thread Brendenson Andrade
Hey Ian, my system is darwin. I think it's probably the tzdata database, you're right, I'll check if this is up to date. Thanks for answering Em segunda-feira, 25 de julho de 2022 às 19:59:37 UTC-3, Ian Lance Taylor escreveu: > On Mon, Jul 25, 2022 at 3:47 PM Brendenson Andrade > wrote: > >

Re: [go-nuts] Data race in sql package

2022-07-26 Thread Daniel Theophanes
It should be safe to use RawBytes from *Conn or *Tx, the transaction won't be re-used. We will look into it further. On Friday, July 22, 2022 at 4:40:16 AM UTC-5 Michal Hruby wrote: > That's right, atm there's no safe way to use sql.RawBytes, it should > either be documented that you need to

[go-nuts] Re: go vet configuration? to check variant of printf having to do with verbs

2022-07-26 Thread Brian Candler
Instead of a closure, could you put loopCnt and errCnt in a struct, and then make your loopErrMsg be a method on that? On Tuesday, 26 July 2022 at 16:03:01 UTC+1 gocss wrote: > also found this so it is a known limitation: > https://github.com/golang/go/issues/44350 > > On Tuesday, July 26, 2022

[go-nuts] Re: go vet configuration? to check variant of printf having to do with verbs

2022-07-26 Thread gocss
also found this so it is a known limitation: https://github.com/golang/go/issues/44350 On Tuesday, July 26, 2022 at 10:39:06 AM UTC-4 gocss wrote: > Appears 'go vet -printf.funcs loopErrMsgf' > does not detect incorrect verbs or lack thereof on anonymous functions ... > :( > as shown above,

[go-nuts] Re: Will Go be discontinued?

2022-07-26 Thread Richard Haven
Yeah, and GMail and Google Search: their days are numbered On Sunday, July 28, 2013 at 10:25:11 AM UTC-7 Starfish wrote: > Hello! > > Every Google service I use and like seems to get pulled. > > Recently Google announced the retirement of Reader, iGoogle, Talk and > Latitude. > > What

[go-nuts] Re: go vet configuration? to check variant of printf having to do with verbs

2022-07-26 Thread gocss
Appears 'go vet -printf.funcs loopErrMsgf' does not detect incorrect verbs or lack thereof on anonymous functions ... :( as shown above, which is my desired use case. On Tuesday, July 26, 2022 at 10:02:19 AM UTC-4 gocss wrote: > Is there a way to configure 'go vet' to a variant of

[go-nuts] go vet configuration? to check variant of printf having to do with verbs

2022-07-26 Thread gocss
Is there a way to configure 'go vet' to a variant of sprintf/printf that I rolled such loopErrMsgf := func(format string, params ...interface{}) string { errCnt++ return fmt.Sprintf("[checkIn:loopCnt:%d, errCnt:%d] error %s", loopCnt, errCnt, fmt.Sprintf(format,

Re: [go-nuts] How to check Cmd.ProcessState without triggering the race checker?

2022-07-26 Thread TheDiveO
Hi Steven, correct, I only noticed this later but in the end I decided to not make use of it. The reason is that there still is no atomicity and no locking, so the Cmd.Process can do whatever it want, especially playing the Blue Norwegian. On Tuesday, July 26, 2022 at 1:28:45 AM UTC+2 Steven

Re: [go-nuts] Will Go be discontinued?

2022-07-26 Thread Ehioje Henry Erabor
This should be a big joke right? On Tue, Jul 26, 2022 at 6:53 AM Amnon wrote: > > On Monday, 25 July 2022 at 19:48:24 UTC+1 Carlos Jimenez wrote: > >> I think it will be discontinued soon >> The average lifespan of a discontinued Google product is *4 years and 1 >> month*. so should be a matter