go
go copied to clipboard
The Go programming language
skipSpace ignores the error it encounters while using a reader which seems like a bug. Refactor the function and have it returns the errors. Modified readContinuedLineSlice and have it ignore...
by **bjruth**: Discussion was conceived on golang-nuts: https://groups.google.com/forum/#!topic/golang-nuts/bAgNll-EMkI to add support for a flag that supports unmarshaling arbitary JSON into structs. A tag was announced for the mgo/bson package here:...
### What version of Go are you using (`go version`)? $ go version go version go1.18.5 darwin/arm64 ### Does this issue reproduce with the latest release? Yes (go 1.19) $...
The color model returned from png.DecodeConfig is different from the one returned from png.Decode, because it incorrectly omits the alpha channel data. ### What version of Go are you using...
### What is the URL of the page with the issue? Any page containing example block, e.g. https://pkg.go.dev/io#example-Copy ### What is your user agent? ``` Mozilla/5.0 (Macintosh; Intel Mac OS...
### What version of Go are you using (`go version`)? $ go version go version go1.19 linux/amd64 ### Does this issue reproduce with the latest release? Yes. ### What operating...
This proposal makes acting on simple rate throttlers more ergonomic. It adds an API that we use internally (I'm not the author). Adding it will ease open-sourcing a project I'm...
In ae3d890202b2356fc0936f84349bdf08083884ac as part of addressing #51082, a change was made to go/doc that rewrite **all** `''` to `”`. This makes semantic changes to comments where `'` is used as...
### Background Sometimes we need to dial inside another net namespace and switch back. On linux, namespace is thread-level, so a thread lock is needed. With `"github.com/vishvananda/netns"` for example: ```go...
### What version of Go are you using (`go version`)? $ go version 1.17.2 ### Does this issue reproduce with the latest release? Yes with 1.17.6 Not tried with 1.18...