navidrome/domain/artist.go

14 lines
214 B
Go
Raw Normal View History

2016-03-02 15:07:24 +01:00
package domain
type Artist struct {
2016-03-02 19:18:39 +01:00
Id string
Name string
}
type ArtistRepository interface {
BaseRepository
Put(m *Artist) error
Get(id string) (*Artist, error)
GetByName(name string) (*Artist, error)
}