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...
Senior software Engineer
Golang Developer and Blockchain certified professional
Markdown supported · ⌘↵ to post
No responses yet.