Re: [go-nuts] When marshalling values, should panics be preserved?

2019-01-18 Thread Ian Lance Taylor
On Fri, Jan 18, 2019 at 8:59 AM Robert Johnstone wrote: > > I'm working on a GUI library, and one of the facilities provided is a way to > execute code on the GUI thread. The call site is pretty simple: > > err := Do(func() error { > // Inside this closure, we will be executing only on the

[go-nuts] When marshalling values, should panics be preserved?

2019-01-18 Thread Robert Johnstone
Hello, I'm working on a GUI library, and one of the facilities provided is a way to execute code on the GUI thread. The call site is pretty simple: err := Do(func() error { // Inside this closure, we will be executing only on the GUI thread. _, err := fmt.Println("Hello.") //