Larry Clapp
Larry Clapp
In the below I'd expect `s.F1 = "foo"` to compile to `s.Object.t1.Object.f1 = "foo"`, but instead it seems to compile to `s.Object.t1 = "foo"`. In the marked assignment ("error here"),...
Why doesn't t1.foo == nil, after I just assigned it nil? Why doesn't it even == itself? ```go type foo struct { *js.Object bar bool `js:"bar"` } type t struct...
- Add a CancelableReader type, and wrap stdin with it at the top of Runner.Run. - Also include CancelableReaderTTY which preserves stdin looking like a tty, i.e. [[ -t 0...
See title. Is there some other way to signal a Runner (something analogous to SIGINT) that I'm missing?
Currently `Runner.writeEnv` is copied into `Runner.Vars` at the end of `Runner.Run`, but there's a comment that says `Vars` is going away. After a [Slack discussion](https://gophers.slack.com/archives/CGFNCMMDH/p1646702347351919), @mvdan suggested ```go // FinalEnv...
### What version of Vim/Gvim are you using? Vim/Gvim version $ vim --version VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 27 2020 10:21:52) macOS version Included patches:...
Consider pkg1: ```go package pkg1 type I1 interface { isI1() } type T1 struct{} func (T1) isI1() {} ``` This works in compiled Go: ```go var i pkg1.I1 = pkg1.T1{}...
`github.com/openconfig/gnmi/client/gnmi` [says](https://github.com/openconfig/gnmi/blob/master/client/gnmi/client.go#L20-L21) "Note: this package should not be used directly. Use github.com/openconfig/gnmi/client instead." Yet the example gnmi_cli uses it directly ([here](https://github.com/openconfig/gnmi/blob/master/cmd/gnmi_cli/gnmi_cli.go#L48)). And (maybe I'm missing it) I see no other...
I'm seeing a 404 on https://reflog.github.io/go2ast/go2ast/main.wasm.
The Juniper api used mentions `https://github.com/openconfig/public/blob/master/release/models/rpc/openconfig-rpc-api.yang`, which went away in May 2016 (https://github.com/openconfig/public/commit/e6a2f26e4b75e0552dad8e73a6b7ab690006746a), and the whole .../release/models/rpc subtree went away a year after that (June 2017, https://github.com/openconfig/public/commit/9dcdf78728d93bb9f40660485068c56b40516c2f). I've tested jtimon...