Hi, I wrote a package to hash any comparable type:
hash function (as long as it implements hash.Hash64) and it does
not depend on any internal detail of the runtime.
It works by inspecting the type and creating the hasher to be used later.
It also lets you hash non-comparable types (ignoring the non-comparable part).
If you have any questions or suggestions, please let me know.
Enjoy,
G.
-- - curiosity sKilled the cat