Introduced interfaces for all repositories, completely isolating the persistence layer from the repositories usage and specification
This commit is contained in:
@@ -12,6 +12,7 @@ type ArtistIndex struct {
|
||||
|
||||
|
||||
type ArtistIndexRepository interface {
|
||||
BaseRepository
|
||||
Put(m *ArtistIndex) error
|
||||
Get(id string) (*ArtistIndex, error)
|
||||
GetAll() ([]ArtistIndex, error)
|
||||
|
||||
Reference in New Issue
Block a user