6 ms·
Similar: https://github.com/ravivooda/gofor https://github.com/ravivooda/gofor
by ravivooda 3y ago
Similar: https://github.com/ravivooda/gofor https://github.com/ravivooda/gofor
- chen_dev 3y agothe '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]) }