Initial support for artist browsing from UI. Also add linking between resources

This commit is contained in:
Deluan
2020-01-22 13:02:19 -05:00
parent b23175e32b
commit 7dc3f49c1c
6 changed files with 60 additions and 7 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ import (
)
type artist struct {
ID string `orm:"pk;column(id)"`
Name string `orm:"index"`
AlbumCount int `orm:"column(album_count)"`
ID string `json:"id" orm:"pk;column(id)"`
Name string `json:"name" orm:"index"`
AlbumCount int `json:"albumCount" orm:"column(album_count)"`
}
type artistRepository struct {