Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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])

}



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: