hugo-medialog/internal/music/model.go

22 lines
594 B
Go
Raw Normal View History

2024-10-09 11:12:44 +02:00
package music
2024-10-08 21:08:01 +02:00
2024-10-09 11:12:44 +02:00
type Album struct {
2024-12-17 14:30:33 +01:00
Title string `yaml:"title"`
Artist string `yaml:"artist"`
Album string `yaml:"album"`
Slug string `yaml:"slug"`
ID string `yaml:"spotify_id"`
Subtitle string `yaml:"subtitle"`
Link string `yaml:"link"`
Year int `yaml:"year"`
Rate float64 `yaml:"rate"`
Tracks int `yaml:"tracks"`
Image string `yaml:"image"`
ReleaseDate string `yaml:"release_date"`
Date string `yaml:"date"`
New bool `yaml:"new"`
Tags []string
2024-10-08 21:08:01 +02:00
}
2024-10-09 11:12:44 +02:00
type Albums []Album