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

I don't disagree at all, I'm just pointing out a less than ideal pattern.


And I much appreciate your feedback :) Whenever I try to think of what was the best practice idiom, I always mix up map[T]struct{} and map[T]interface{}, due to the curly brackets at the end.

As you can tell, it's been a while since I've written Go.




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

Search: