Hacker News new | ask | show | jobs
by chen_dev 998 days 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])

}