3 ms·
Cf. https://www.youtube.com/watch?v=0m6iFd9N_CY https://www.youtube.com/watch?v=0m6iFd9N_CY which features this code: func soldAnother(a *album) { a.co
by mighmi 3y ago
Cf. https://www.youtube.com/watch?v=0m6iFd9N_CY https://www.youtube.com/watch?v=0m6iFd9N_CY which features this code:
func soldAnother(a *album) {
a.copies++ // note the pointer. Can use dot notation on pointer,
// equivalent to (*a).copies++)