Myvideo

Guest

Login

Pointer Receivers - Go Lang Practical Programming Tutorial p.8

Uploaded By: Myvideo
19 views
0
0 votes
0

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:

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later