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

A new sync/v2 NewPool() is being discussed that eliminates the sharp edges by making it generic: https://github.com/golang/go/issues/71076

I haven't personally found it to be problematic; just keep it private, give it a default new func, and be cautious about only putting things in it that you got out.



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

Search: