Basic scanning working. Time to retrofit some tests....

This commit is contained in:
Deluan
2016-02-28 15:46:53 -05:00
parent 14e52576a7
commit 515279606a
6 changed files with 85 additions and 22 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ func NewArtistRepository() *Artist {
return r
}
func (r *Artist) Put(m *models.Artist) (*models.Artist, error) {
func (r *Artist) Put(m *models.Artist) (*models.Artist, error) { // TODO Return only error
if m.Id == "" {
m.Id = r.NewId(m.Name)
}