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

Indeed, that's why one of the go versions (I don't remember which) added the capacity as the third argument when "slicing."

https://play.golang.org/p/FCm8nOElz2n



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

Search: