hugo-medialog/internal/music/model.go

22 lines
594 B
Go

package music
type Album struct {
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
}
type Albums []Album