Here's a small Go gotcha that it's easy to fall into when using goroutines and closures. Here's a simple program that prints out the numbers 0 to 9: (You can play with this in the Go Playground here) package main...
Sign in to post comments.
Comments (0)
Sign in to post comments.