uncomment
This commit is contained in:
parent
e05573c2cf
commit
b569bd5bd6
@ -251,25 +251,25 @@ func MainView(ctx *gctx.Context, commands *commands.Commands) ([]list.Item, erro
|
|||||||
var artists *spotify.FullArtistCursorPage
|
var artists *spotify.FullArtistCursorPage
|
||||||
var albums *spotify.SavedAlbumPage
|
var albums *spotify.SavedAlbumPage
|
||||||
|
|
||||||
// wg.Go(func() (err error) {
|
wg.Go(func() (err error) {
|
||||||
// saved_items, err = commands.TrackList(ctx, 1)
|
saved_items, err = commands.TrackList(ctx, 1)
|
||||||
// return
|
return
|
||||||
// })
|
})
|
||||||
|
|
||||||
wg.Go(func() (err error) {
|
wg.Go(func() (err error) {
|
||||||
playlists, err = commands.Playlists(ctx, 1)
|
playlists, err = commands.Playlists(ctx, 1)
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
||||||
// wg.Go(func() (err error) {
|
wg.Go(func() (err error) {
|
||||||
// artists, err = commands.UserArtists(ctx, 1)
|
artists, err = commands.UserArtists(ctx, 1)
|
||||||
// return
|
return
|
||||||
// })
|
})
|
||||||
//
|
|
||||||
// wg.Go(func() (err error) {
|
wg.Go(func() (err error) {
|
||||||
// albums, err = commands.UserAlbums(ctx, 1)
|
albums, err = commands.UserAlbums(ctx, 1)
|
||||||
// return
|
return
|
||||||
// })
|
})
|
||||||
|
|
||||||
err := wg.Wait()
|
err := wg.Wait()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user