adding spotify authentication

This commit is contained in:
2025-11-23 20:40:07 +00:00
parent 6b0373d3dd
commit 1323d33bd1
2 changed files with 50 additions and 38 deletions

View File

@@ -1,11 +1,13 @@
package handlers
import (
"github.com/zmb3/spotify/v2"
spotifyauth "github.com/zmb3/spotify/v2/auth"
"golang.org/x/oauth2"
"gorm.io/gorm"
)
type Store struct {
DB *gorm.DB
SpotifyClient *spotify.Client
DB *gorm.DB
SpotifyAuth *spotifyauth.Authenticator
SpotifyToken *oauth2.Token
}