6 ms·
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
by chen_dev 3y ago
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])
}