you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year ago* (1 child)

In Go you can compare structure instances with == (by value). You can also compare pointers (in which case they can be different even if values are equal). You get what you ask for.

Also, I've never needed "Equals" method in Go.

  • source
  • parent
  • hideshow 1 child comment