navidrome/domain/artist.go
2016-03-02 13:18:39 -05:00

14 lines
214 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)
}