logoalt Hacker News

kiitos06/06/20251 replyview on HN

See for yourself: https://go.dev/play/p/Q7IPuPS5CwQ


Replies

masklinn06/07/2025

Oh hell, I always forget equality doesn't go through pointers in go, you're right.

And as you demonstrate I could have tested it easily enough to confirm I was reading the code correctly...