Re:Go is not an easy language
by simiones on Monday February 22, 2021 @02:43PM
(#26229503)
Unfortunately, map[t]bool (or map[t]struct{}) only works for special structs that happen to have equality defined for them. It's not a general purpose solution, it's just a hack.
[ Parent
| on HN ]
There are no comments on this comment yet.