19 lines
548 B
Go
Raw Normal View History

package profiletracks
2018-12-04 23:49:21 +00:00
// import (
// "github.com/aerogo/aero"
// "github.com/animenotifier/arn"
// )
2018-12-04 23:49:21 +00:00
// // Liked shows all soundtracks liked by a particular user.
// func Liked(ctx *aero.Context) string {
// return render(ctx, likedTracks)
// }
2018-12-04 23:49:21 +00:00
// // likedTracks returns all soundtracks that the user with the given user ID liked.
// func likedTracks(userID string) []*arn.SoundTrack {
// return arn.FilterSoundTracks(func(track *arn.SoundTrack) bool {
// return !track.IsDraft && len(track.Media) > 0 && track.LikedBy(userID)
// })
// }