Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paging example doesn't show on how to get all results #186

Open
jtagcat opened this issue Feb 7, 2022 · 1 comment
Open

Paging example doesn't show on how to get all results #186

jtagcat opened this issue Feb 7, 2022 · 1 comment

Comments

@jtagcat
Copy link

jtagcat commented Feb 7, 2022

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.

@strideynet
Copy link
Collaborator

Good point. This should be quite easy to fix.

It's likely this will be improved once Generics hit either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants