David Crawshaw
David Crawshaw
Running on `go version go1.12.1 darwin/amd64`: ``` $ go test --- FAIL: TestStartStopReload (0.62s) littleboss_test.go:153: echo_server address: "addr=[::]:54901" littleboss_test.go:176: reload failed: exit status 1: reload of echo_server failed: wait: no...
Disabling for now. ```$ go test -run=TestPFlag --- FAIL: TestPFlag (0.58s) littleboss_test.go:293: exit status 2: flag provided but not defined: -mylb Usage of /var/folders/5m/psbp5kd94gl7b7q7xc70p4w00000gn/T/littleboss_test_337893288/bin/pflag: FAIL exit status 1 FAIL crawshaw.io/littleboss...
Added a flag to a process, so on -littleboss=reload it tried and failed to use the default value: ``` panic: littleboss: child listener flag "myaddr" value does not include fd:...
With: ``` go mod init junk go get golang.org/x/crypto/blake2s go get github.com/fxamacker/cbor/v2 ``` I can run `go doc blake2s` and get package documentation. However I cannot similarly get docs for...
``` $ go test ./... ? github.com/FiloSottile/mkcert [no test files] ```
The file eval/op.go contains a lot of cases for op matching. Ideally there'd be some efficient way to solve this with reflect. But if there isn't, maybe there should be...
Neugram has its own shell syntax parser. It's complicated, and not complete. There is a nice shell implementation in https://github.com/mvdan/sh (by @mvdan) we could use. It would be great to...
Looks like a bug in the Go runtime. It's happening in eval/testdata/http1.ng: ``` $ go test neugram.io/ng/eval runtime: bad pointer in frame plugin.open at 0xc420be8e68: 0x3 fatal error: invalid pointer...
``` ng> ch := make(chan int) ng> select { ..> case v := default: ..> } ng> ``` This should report that `v` is unused.
``` ng> import "bytes" ng> buf := new(bytes.Buffer) ng> buf.Write("hello") int(5) ng> buf.String() "hello" ``` In Go this is an error: https://play.golang.org/p/43d_2taphY `main.go:7:12: cannot use "hello" (type string) as type...