feat: expose album, song and artist annotations in the RESTful API

This commit is contained in:
Deluan
2020-03-28 19:22:55 -04:00
parent 0e36ed35a3
commit 777231ea79
7 changed files with 47 additions and 16 deletions
+9
View File
@@ -16,3 +16,12 @@ func NoArticle(name string) string {
}
return name
}
func StringInSlice(a string, list []string) bool {
for _, b := range list {
if b == a {
return true
}
}
return false
}