navidrome/domain/artist.go

17 lines
273 B
Go
Raw Normal View History

2016-03-02 15:07:24 +01:00
package domain
type Artist struct {
ID string
2016-03-28 02:13:00 +02:00
Name string
AlbumCount int
}
type ArtistRepository interface {
BaseRepository
Put(m *Artist) error
Get(id string) (*Artist, error)
PurgeInactive(active Artists) ([]string, error)
}
2016-03-04 22:42:09 +01:00
type Artists []Artist