18 lines
438 B
Go
18 lines
438 B
Go
|
// internal/music/model.go
|
||
|
package music
|
||
|
|
||
|
type Album struct {
|
||
|
Title string `yaml:"title"`
|
||
|
Subtitle string `yaml:"subtitle"`
|
||
|
Link string `yaml:"link"`
|
||
|
Year int `yaml:"year"`
|
||
|
Rate float64 `yaml:"rate"`
|
||
|
Image string `yaml:"image"`
|
||
|
Poster string `yaml:"poster-image"`
|
||
|
Background string `yaml:"background-image"`
|
||
|
Date string `yaml:"date"`
|
||
|
Tags []string
|
||
|
}
|
||
|
|
||
|
type Albums []Album
|