Files
navidrome/domain/artist.go
T
2016-03-18 19:50:21 -04:00

17 lines
286 B
Go

package domain
type Artist struct {
Id string
Name string
}
type ArtistRepository interface {
BaseRepository
Put(m *Artist) error
Get(id string) (*Artist, error)
GetByName(name string) (*Artist, error)
PurgeInactive(active Artists) ([]string, error)
}
type Artists []Artist