hugo-medialog/internal/music/model.go

21 lines
509 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-10-11 13:05:46 +02: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"`
Date string `yaml:"date"`
New bool `yaml:"new"`
2024-10-11 13:05:46 +02:00
Tags []string
2024-10-08 21:08:01 +02:00
}
2024-10-09 11:12:44 +02:00
type Albums []Album