Hacker News new | ask | show | jobs
by Spiwux 996 days ago
e.g.

  var typeA Interface = (*TypeA)(nil)
  println(typeA == nil)           // false
  println(typeA == (*TypeA)(nil)) // true
Yes really https://go.dev/play/p/sz44kJW8OuT