Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
continuitylimit
· 3y ago · 0 comments
There is no “trick”. It’s the language spec! That go func can take arguments. Just add the argument for clarity. The “trick” here is saving the declaration in the go func’s signature. ‘go func(i0 int) { .... }(i)’
Comments
No comments yet.
Better HN