Chris Hines
Chris Hines
Usage messages should include the names and flags for all commands from the root to the terminal command. Previously usage functions could only access the terminal command's data, which made...
Run the program below (or on the [playground](https://play.golang.org/p/_e_VqwPo-s7)) to see an example of the problem. ```go package main import ( "flag" "github.com/peterbourgon/ff/v3/ffcli" ) func main() { barfs := flag.NewFlagSet("bar", flag.ContinueOnError)...
The JSON benchmarks log several fields of information, while the Text benchmarks only log a static string message. This discrepancy makes comparing the benchmarks between Text and JSON misleading.
# The problem Following the "Zero Install" instructions at https://magefile.org/zeroinstall/ does not work with Go 1.14 or 1.15 when using `go mod vendor`. The `// +build ignore` build constraint in...
``` $ go test -trimpath --- FAIL: TestCallStackString (0.00s) stack_test.go:343: got [] want [stack_test.go:362 stack_test.go:335] --- FAIL: TestCallStackMarshalText (0.00s) stack_test.go:357: got [91 93] want [91 115 116 97 99 107...
The first sentence of the [package docs](https://github.com/go-kit/kit/blob/master/log/level/doc.go) for github.com/go-kit/kit/log/level reads: ```go // Package level implements leveled logging on top of package log. ``` Godoc.org magically makes the word "log" into...
### Context We have noted the overlap of the Handler and Format APIs (see #8). Specifically they both specify a single function that takes a single *Record argument. This overlap...
At the moment this package does not support logging values of type array, chan, func, map, slice, or struct. Of these, I cannot think of a reason to support chan...
Although the unused analyzer is part of staticcheck and on by default, I cannot find docs for it on the same page as the rest of the checks. No U1000...
The README says: > Go package for parsing (and, eventually, generating) log lines in the logfmt style. Is there still interest in working on the generating part? I've been contributing...