Making sure the repositories implement their full interfaces

This commit is contained in:
Deluan
2016-03-03 01:24:28 -05:00
parent f01a5f143d
commit ad0a91fba5
6 changed files with 12 additions and 0 deletions
+2
View File
@@ -32,3 +32,5 @@ func (r *albumRepository) FindByArtist(artistId string) ([]domain.Album, error)
err := r.loadChildren("artist", artistId, &as, "Year", false)
return as, err
}
var _ domain.AlbumRepository = (*albumRepository)(nil)