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
@@ -31,3 +31,5 @@ func (r *artistRepository) GetByName(name string) (*domain.Artist, error) {
id := r.NewId(name)
return r.Get(id)
}
var _ domain.ArtistRepository = (*artistRepository)(nil)