3 ms·
> I've seen some proposals but I haven't seen anything that was clearly a good proposal I have one! Allowing inline ifs, like this: err := func() if e
by thiht 4y ago
> I've seen some proposals but I haven't seen anything that was clearly a good proposal
I have one! Allowing inline ifs, like this:
err := func()
if err != nil { return err }
1 line instead of 3 for simple error handling, yeaah