Files
web_server/backend/handlers/store.go

16 lines
294 B
Go

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
SpotifyAuth *spotifyauth.Authenticator
SpotifyToken *oauth2.Token
SpotifyClient *spotify.Client
}