Use new Criteria and remove SmartPlaylist struct

This commit is contained in:
Deluan
2021-10-21 22:15:05 -04:00
committed by Deluan Quintão
parent 3972616585
commit 6a550dab77
9 changed files with 43 additions and 490 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ var _ = Describe("Criteria", func() {
},
Sort: "title",
Order: "asc",
Max: 20,
Limit: 20,
Offset: 10,
}
var b bytes.Buffer
@@ -49,7 +49,7 @@ var _ = Describe("Criteria", func() {
],
"sort": "title",
"order": "asc",
"max": 20,
"limit": 20,
"offset": 10
}
`))