4 ms·
This is exactly why a generic Set collection should have been there since the start.
by vips7L 5y ago
This is exactly why a generic Set collection should have been there since the start.
- masklinn 5y agoI don't disagree at all, I'm just pointing out a less than ideal pattern.
- EdwardDiego 5y agoAnd 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.