refactor: annotations

This commit is contained in:
Deluan
2020-01-31 21:09:23 -05:00
committed by Deluan Quintão
parent de1fea64bc
commit 88e01d05f6
16 changed files with 184 additions and 197 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func NewArtistRepository(ctx context.Context, o orm.Ormer) model.ArtistRepositor
}
func (r *artistRepository) selectArtist(options ...model.QueryOptions) SelectBuilder {
return r.newSelectWithAnnotation(model.ArtistItemType, "id", options...).Columns("*")
return r.newSelectWithAnnotation("id", options...).Columns("*")
}
func (r *artistRepository) CountAll(options ...model.QueryOptions) (int64, error) {