navidrome/domain/artist.go
2016-03-04 16:42:09 -05:00

16 lines
237 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)
}
type Artists []Artist