Add GetGenre endpoint

This commit is contained in:
Deluan
2020-01-15 17:49:09 -05:00
parent ca2c897340
commit 36d93774bc
22 changed files with 303 additions and 26 deletions
+13
View File
@@ -0,0 +1,13 @@
package model
type Genre struct {
Name string
SongCount int
AlbumCount int
}
type Genres []Genre
type GenreRepository interface {
GetAll() (Genres, error)
}