More slices instead of pointers of slice

This commit is contained in:
Deluan
2016-03-20 13:14:04 -04:00
parent 3f0030738a
commit 21b39d922c
15 changed files with 37 additions and 37 deletions
+2 -2
View File
@@ -80,9 +80,9 @@ func (g listGenerator) GetStarred() (Entries, error) {
if err != nil {
return nil, err
}
entries := make(Entries, len(*albums))
entries := make(Entries, len(albums))
for i, al := range *albums {
for i, al := range albums {
entries[i] = FromAlbum(&al)
}