Implemented getAlbumList with type=random

This commit is contained in:
Deluan
2016-03-08 21:54:32 -05:00
parent 867ca0580c
commit 9bea04f330
8 changed files with 44 additions and 5 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ func (r *ledisRepository) CountAll() (int64, error) {
return size, err
}
func (r *ledisRepository) GetAllIds() (map[string]bool, error) {
func (r *ledisRepository) getAllIds() (map[string]bool, error) {
m := make(map[string]bool)
pairs, err := db().ZRange([]byte(r.table+"s:all"), 0, -1)
if err != nil {