101 reputation
1
bio website
location Ontario, Canada
age 43
visits member for 2 years, 4 months
seen 23 hours ago

Mar
27
comment Sets Data Structure in Golang
"works ONLY IF the key are a built-in type" is wrong. type mySet map[IntPoint]bool works perfectly well. All that is required of the key type used in a map is that it has == and !=. Equality of struct types is well defined, your Equals method should be just p1 == p2.
Dec
11
awarded  Supporter