navidrome/model/genres.go
2020-01-15 17:56:02 -05:00

13 lines
171 B
Go

package model
type Genre struct {
Name string
SongCount int
AlbumCount int
}
type Genres []Genre
type GenreRepository interface {
GetAll() (Genres, error)
}