go
go copied to clipboard
The Go programming language
### Proposal Details In `x/net/http2`, [http2.WriteScheduler](https://pkg.go.dev/golang.org/x/net/http2#WriteScheduler) is used to determine the order in which data is written to HTTP/2 streams. `x/net/http2` currently implements three write schedulers: round-robin (the default), random,...
### What is the URL of the page with the issue? https://pkg.go.dev/github.com/urfave/cli/[email protected]#example-Command.Run-NoAction This reports a bug that renders some testable examples without a `main` block, making them not runnable. It...
### What version of Go are you using (`go version`)? go 1.19 ### Does this issue reproduce with the latest release? Yes ### What operating system and processor architecture are...
### What is the URL of the page with the issue? https://pkg.go.dev/periph.io/x/devices/v3/epd#example-package (cf. https://pkg.go.dev/periph.io/x/devices/epd#example-package currently at v3) ### What is your user agent? Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:86.0) Gecko/20100101...
% export GOPATH=$(pwd) % cat src/foo1/foo.go package foo func Foo() { } % cat src/foo1/foo_test.go package foo_test import "foo1" // defines foo func ExampleFoo() { foo.Foo() } % godoc -play...
``` #!watchflakes default
For discussion: There is tension in how long to run benchmarks for. You want to run long, in order to make any overhead irrelevant and to reduce run-to-run variance. You...