I was curious what function was used for hashing (how do you write a generic hash function in go?) and it's pretty disgusting.
But... just to hash something?
I’m not saying it’s good: it just is what it is. It’s silly: but so is most of go. I’ve worked with this language for several years now: I don’t like it at all. It presents a facade of simplicity, but has all sorts of hidden issues that affect performance and behavior in surprising ways.
Did you look at the linked code in maphash?