Closed kaushalvivek closed 2 years ago
Methods with value receivers can be called on pointers as well as values. Methods with pointer receivers can only be called on pointers or addressable values.
https://golang.org/doc/effective_go.html#pointers_vs_values