News for hackers. Stuff that matters.
Re:Benefits of named return values in Go by Gonzih on Friday June 30, 2017 @05:35AM (#14669553)
Yes, you are correct. Doing var return MyStruct {} at the beginning of the function would do exactly the same thing as naming return value.

There are no comments on this comment yet.