Hacker News new | ask | show | jobs
by metaltyphoon 1382 days ago
Or perhaps allow variable assignment to be used in the same scope.

if x, err := someMethod(); err != nil { return err }

x <- is usable here.