Open jtagcat opened 2 years ago
https://github.com/zmb3/spotify/blob/master/examples/paging/page.go
tracks.Tracks value is the last page. As it doesn't give anything other than err for return, I thought it'd append to tracks.Tracks, but it does not.
Good point. This should be quite easy to fix.
It's likely this will be improved once Generics hit either way.
https://github.com/zmb3/spotify/blob/master/examples/paging/page.go
tracks.Tracks value is the last page. As it doesn't give anything other than err for return, I thought it'd append to tracks.Tracks, but it does not.