19 lines
539 B
Go
Raw Normal View History

2018-03-19 11:25:31 +00:00
package profilequotes
2018-12-04 23:49:21 +00:00
// import (
// "github.com/aerogo/aero"
2019-06-03 09:32:43 +00:00
// "github.com/animenotifier/notify.moe/arn"
2018-12-04 23:49:21 +00:00
// )
2018-03-19 11:25:31 +00:00
2018-12-04 23:49:21 +00:00
// // Liked shows all quotes liked by a particular user.
2019-06-01 04:55:49 +00:00
// func Liked(ctx aero.Context) error {
2018-12-04 23:49:21 +00:00
// return render(ctx, likedQuotes)
// }
2018-03-19 11:25:31 +00:00
2018-12-04 23:49:21 +00:00
// // likedQuotes returns all quotes that the user with the given user ID liked.
// func likedQuotes(userID string) []*arn.Quote {
// return arn.FilterQuotes(func(track *arn.Quote) bool {
// return !track.IsDraft && len(track.Text.English) > 0 && track.LikedBy(userID)
// })
// }