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 G
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.")
// Return