Hacker News new | ask | show | jobs
by spinny 1511 days ago
You can evoke a method on a nil object in Go because it handles methods as functions that have an extra first parameter. take a look here: https://go.dev/play/p/2SRU26mvfnL