posted at xx:xx:xx
115 KiB of our binary is #golang compiler-generated equality funcs for structs used as value types.
Make it all go away with this one dirty trick:
Make your struct types not comparable by adding an unnamed 0-sized array of func pointers. Now it can't ==:
🤮 🤷♂️ pic.twitter.com/8R8QiqRYE6
posted at 12:46:12