You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey @dvdmuckle can you add more context to this,
would love take this up
Sure thing! So, the library used on that code snippet (which is a bit outdated, I'll get a fresh one there soon) to refresh the token, imported as spotifyAuth, is only used in that block of code, and isn't used anywhere else in the program. The goal here is to move the implementation of refreshing the token to an already imported library, such as the Golang oauth2 library. This is basically to remove the library and reduce binary size, since the library is only used in one place.
https://github.com/dvdmuckle/goify/blob/e0832a4c29879ab6a66a3f2b1b8de08b1da593d8/cmd/helper/authHelp.go#L97-L100
The text was updated successfully, but these errors were encountered: