
Golang Don’t pass a value to a callback in a loop with range
If a value is passed to a callback in a loop with range keyword, it can introduce a bug. The desired value is not used in the callback if it is triggered later. You should know how to work range keyword in this post.