fix(server): forward-fix CI — gofmt convert/types + rename unused r in enricher_test

This commit is contained in:
2026-05-04 17:41:16 -04:00
parent 0dbe326d8b
commit 1691290875
3 changed files with 21 additions and 21 deletions
+10 -10
View File
@@ -57,16 +57,16 @@ type ArtistRef struct {
// divider can group rows by sort order ("The Wall" → "W"). CoverURL points
// to /api/albums/{id}/cover.
type AlbumRef struct {
ID string `json:"id"`
Title string `json:"title"`
SortTitle string `json:"sort_title"`
ArtistID string `json:"artist_id"`
ArtistName string `json:"artist_name"`
Year int `json:"year,omitempty"`
TrackCount int `json:"track_count"`
DurationSec int `json:"duration_sec"`
CoverURL string `json:"cover_url"`
CoverArtSource *string `json:"cover_art_source"`
ID string `json:"id"`
Title string `json:"title"`
SortTitle string `json:"sort_title"`
ArtistID string `json:"artist_id"`
ArtistName string `json:"artist_name"`
Year int `json:"year,omitempty"`
TrackCount int `json:"track_count"`
DurationSec int `json:"duration_sec"`
CoverURL string `json:"cover_url"`
CoverArtSource *string `json:"cover_art_source"`
}
// TrackRef is the lightweight track shape used in album details and search.