Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Gonzih
on June 30, 2017
|
parent
|
context
|
favorite
| on:
Benefits of named return values in Go
Yes, you are correct. Doing var return MyStruct {} at the beginning of the function would do exactly the same thing as naming return value.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: