Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
simiones
on Feb 22, 2021
|
parent
|
context
|
favorite
| on:
Go is not an easy language
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: