There are lots of similar proposals in the issue tracker. Of those, https://golang.org/issue/21161 seems to have the most traffic.
On Tuesday, October 17, 2017 at 5:09:33 PM UTC-4, Nicolas Grilly wrote: > > I just read about Zig, a new programming language designed to replace C. > > The error handling philosophy is very similar to Go: control flow in > general and error handling in particular is explicit. Zig has even a defer > statement inspired by Go ;-) > > I noticed that Zig provides a %% operator and %return expression meant to > make error handling less verbose: > > http://ziglang.org/documentation/master/#errors > > I'd be curious to know if something similar would be possible in a future > version of Go? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.