add TracksPage

This commit is contained in:
Drew Weymouth
2023-04-20 19:24:44 -07:00
parent b21b1ce6ba
commit 5e8c450d76
5 changed files with 102 additions and 1 deletions
+5
View File
@@ -14,6 +14,7 @@ const (
NowPlaying
Playlist
Playlists
Tracks
)
type Route struct {
@@ -52,6 +53,10 @@ func PlaylistsRoute() Route {
return Route{Page: Playlists}
}
func TracksRoute() Route {
return Route{Page: Tracks}
}
func ArtistsRoute() Route {
return Route{Page: Artists}
}