Hacker News new | past | comments | ask | show | jobs | submit login

Okay, I think I get it. The format / syntax is pretty easy, simple and clean. I like it. I added a new function that takes two params and returns param, so I think I get this naming the returns now.

https://play.golang.org/p/7bfiSqKY_w

I was also looking for a "spread" / ... operator, but couldn't see a way to do that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: