I must be missing something really basic about goroutines, but I've looked around and I cannot see any reason why this would not work...
package main
import "fmt"
func main() {
for i := 0; i < 20; i++ {
//fmt.Println(i)
go func(j int) {
fmt.Println(j + 100)
}(i)
}
}