Hacker News new | ask | show | jobs
by ravivooda 998 days ago
Similar: https://github.com/ravivooda/gofor
1 comments

the 'fix' to the example in the README should be obvious, but for reference:

- for _, e := range es {

- pumpUp(&e)

}

+ for i := range es {

+ pumpUp(&es[i])

}