Complete named return value TODO #100

Open
wants to merge 1 commit into
from

1 participant

@skrul

Included is a simple example of named returned values and a second example that shows how named return values can be useful in conjunction with defer. The second example is pretty contrived, but I included it because it is something you can't do any other way. However it may be too esoteric for this tutorial and I'm glad to drop it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment