Pointer Receivers - Go Lang Practical Programming Tutorial p.8
Channel:
Subscribers:
1,410,000
Published on ● Video Link: https://www.youtube.com/watch?v=93f9_bJQdHk
Welcome to part 8 of the Go programming tutorial series, where we're talking about methods in Go lang.
So far, we've used our car type example, showing how we could calcuate the vehicle's speed using a value receiver method. What if we wanted to actually modify the object with a method? How might we do that? To do this, we use a pointer receiver.
Text tutorials and sample code: https://pythonprogramming.net/go/
https://twitter.com/sentdex
https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex
Other Videos By sentdex
Tags:
pointer receiver
method
value receiver
Go
Go lang
go programming
tutorial
programming