spotify

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *gorm.DB) provider.Provider

Types

type StreamingHistoryItem

type StreamingHistoryItem struct {
	gorm.Model
	EndTime    types.DateTime `json:"endTime" gorm:"uniqueIndex:spotify_streaming_activity_key"`
	ArtistName string         `json:"artistName" gorm:"uniqueIndex:spotify_streaming_activity_key"`
	TrackName  string         `json:"trackName" gorm:"uniqueIndex:spotify_streaming_activity_key"`
	MsPlayed   int            `json:"msPlayed"`
}

func (StreamingHistoryItem) TableName

func (StreamingHistoryItem) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL