[go-nuts] Re: CGO core dump analysis using GDB

2023-01-04 Thread mariappan balraj
Hello Go Experts, Can someone please help on this? When we invoke CGO and there is a crash in C code, is it possible to get the complete C stack details to debug the problem? I am not seeing much information regarding this. Best Regards Mariappan On Friday, December 23, 2022 at 3:27:51 AM

[go-nuts] Re: More details regarding changes to time.Time JSON marshalling/unmarshalling in 1.20?

2023-01-04 Thread 'Ben Brcan' via golang-nuts
That's really helpful, thank you! On Wednesday, January 4, 2023 at 7:13:52 PM UTC+11 gbarr wrote: > By reading the commit at > https://github.com/golang/go/commit/72c58fb77192f7d17d87663c943360a48aae11dc > the change that stands out most to me is bounds checking on the hour and > minute

Re: [go-nuts] go get created directories with exclamation points

2023-01-04 Thread Dean Schulze
Thanks for that. It turns out that Intellij's problem was that it doesn't enable Go module support when you create a new project from sources that include a go.mod file. You have to enable Go module support manually. I thought Intellij had fixed that bit of stupidity last year. On

Re: [go-nuts] go get created directories with exclamation points

2023-01-04 Thread Marcin Romaszewicz
Go converts uppercase characters to the corresponding lower case character with an exclamation point in front of it to avoid case sensitivity collisions on case insensitive filesystems. In my pkg/mod/github directory, DataDog is the worst offender since it has changed capitalization over time, so

[go-nuts] Go 1.20 Release Candidate 2 is released

2023-01-04 Thread announce
Hello gophers, We have just released go1.20rc2, a release candidate version of Go 1.20. It is cut from release-branch.go1.20 at the revision tagged go1.20rc2. Please try your production load tests and unit tests with the new version. Your help testing these pre-release versions is invaluable.

[go-nuts] Re: What happened if http timeout happened but the request is still sent out

2023-01-04 Thread Vladimir Varankin
> If the connection to the server is lost while transmission, you will probably receive a broken pipe error. > If the timeout happens before sending data, nothing to care. > If the timeout happens during data transmission, well, you may have incomplete data(corrupted) in the server. In addition

[go-nuts] Re: What happened if http timeout happened but the request is still sent out

2023-01-04 Thread w54n
If the connection to the server is lost while transmission, you will probably receive a broken pipe error. If the timeout happens before sending data, nothing to care. If the timeout happens during data transmission, well, you may have incomplete data(corrupted) in the server. I don't think

[go-nuts] Re: More details regarding changes to time.Time JSON marshalling/unmarshalling in 1.20?

2023-01-04 Thread gbarr
By reading the commit at https://github.com/golang/go/commit/72c58fb77192f7d17d87663c943360a48aae11dc the change that stands out most to me is bounds checking on the hour and minute elements of the time zone offset On Wednesday, January 4, 2023 at 7:54:50 AM UTC Ben Brcan wrote: > Hi, I

Re: [go-nuts] More details regarding changes to time.Time JSON marshalling/unmarshalling in 1.20?

2023-01-04 Thread 'Dan Kortschak' via golang-nuts
On Tue, 2023-01-03 at 20:50 -0800, 'Ben Brcan' via golang-nuts wrote: > Hi, I noticed this in the draft release notes for 1.20: > > The Time.MarshalJSON and Time.UnmarshalJSON methods are now more > strict about adherence to RFC 3339. > > Can we get some further details about this? Are there