mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 21:07:44 +03:00
19 lines
300 B
Go
19 lines
300 B
Go
package domain
|
|
|
|
type ArtistInfo struct {
|
|
ArtistId string
|
|
Artist string
|
|
}
|
|
|
|
type ArtistIndex struct {
|
|
Id string
|
|
Artists []ArtistInfo
|
|
}
|
|
|
|
type ArtistIndexRepository interface {
|
|
BaseRepository
|
|
Put(m *ArtistIndex) error
|
|
Get(id string) (*ArtistIndex, error)
|
|
GetAll() ([]ArtistIndex, error)
|
|
}
|