Versions in this module Expand all Collapse all v1 v1.8.5 Apr 14, 2022 v1.8.4 Jan 17, 2022 v1.8.3 Dec 21, 2021 v1.8.2 Dec 20, 2021 v1.8.1 Dec 20, 2021 v1.8.0 Dec 20, 2021 v1.7.1 Sep 9, 2021 v1.7.0 Aug 24, 2021 v1.6.1 Aug 23, 2021 v1.6.0 Aug 23, 2021 v1.5.1 Aug 23, 2021 v1.5.0 Aug 23, 2021 v1.4.0 Aug 23, 2021 Changes in this version + func BatchUpdate(tracks []*Track, cl spotify.Client) + func BatchUpdateArtists(artists []*Artist, cl spotify.Client) + func TrackExists(ID string) bool + type AlbumInformationStruct struct + ID string + Markets int + Popularity int + ReleaseDate string + TracksAmount int + type Artist struct + ArtistID string + CreatedAt time.Time + DeletedAt time.Time + Genres GenresStruct + ID uint + Image string + Name string + Popularity int16 + Updated bool + func GetArtistFromID(ID string) *Artist + func (a *Artist) Save() error + func (a *Artist) Update(cl spotify.Client) + func (a Artist) String() string + type GenresStruct []string + func (sla *GenresStruct) Scan(value interface{}) error + func (sla GenresStruct) Value() (driver.Value, error) + type SpotifyInformation struct + AlbumInformation AlbumInformationStruct + TrackFeatures TrackFeaturesStruct + TrackInformation TrackInformationStruct + Updated bool + type Track struct + Artists []Artist + CreatedAt time.Time + DeletedAt gorm.DeletedAt + ID uint + Information SpotifyInformation + LastUpdated time.Time + Lyrics string + Name string + TrackID string + func GetTrackFromID(ID string) *Track + func (t *Track) ArtistString() string + func (t *Track) NeedUpdate() bool + func (t *Track) Save() error + func (t *Track) Update(cl spotify.Client, syncUpdateLyrics bool) error + func (t Track) String() string + type TrackFeaturesStruct struct + Acousticness float32 + Energy float32 + Instrumentalness float32 + Liveness float32 + Loudness float32 + Speechiness float32 + type TrackInformationStruct struct + Explicit bool + Image string + Key int + Length int + Markets int + Mode int + Popularity int + Tempo float64 + TimeSignature int