Removed composition from model, makes it more readable

This commit is contained in:
Deluan
2020-01-15 08:21:32 -05:00
parent 0ea2bd79d9
commit 19765b0ad8
6 changed files with 10 additions and 10 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ func (a ArtistInfos) Less(i, j int) bool {
type ArtistIndexes []ArtistIndex
type ArtistIndexRepository interface {
BaseRepository
CountAll() (int64, error)
Exists(id string) (bool, error)
Put(m *ArtistIndex) error
Get(id string) (*ArtistIndex, error)
GetAll() (ArtistIndexes, error)