zmb3 / spotify

A Go wrapper for the Spotify Web API
Apache License 2.0
1.34k stars 284 forks source link

Options syntax sugar proposal #142

Closed fclairamb closed 2 years ago

fclairamb commented 3 years ago

The idea is to vastly reduce the pain of using the Options while keeping the current API.

zmb3 commented 3 years ago

Love it. Let's make sure one of the examples under examples/ is using this (or add a new example) so that it's easily discoverable.

I'd also show a snippet using this approach in the README under the Optional Parameters section.

strideynet commented 2 years ago

Closing as replaced with new options syntax.