Method Receivers - Pointer vs Value
Pointer receivers Vs Value receivers
//pointer receiver
func (t *Type) Method() {}
//value receiver
func (t Type) Method() {}
**When should you use pointer receivers ? **
Modify the receiver If you want to change the state of the receiver in a meth...
block360.hashnode.dev1 min read