Hacker News new | ask | show | jobs
by pkulak 4566 days ago
Exactly. You can't return from the outer function in a defer, but you do have access to named return values. It's a bit of a kludge.