21 lines
346 B
Go
Raw Normal View History

2018-03-25 16:27:24 +00:00
package filteranime
import (
"github.com/aerogo/aero"
"github.com/animenotifier/arn"
)
2018-04-07 14:32:37 +00:00
// All ...
func All(ctx *aero.Context) string {
2018-03-25 16:27:24 +00:00
return editorList(
ctx,
2018-04-07 14:32:37 +00:00
"All anime",
2018-03-25 16:27:24 +00:00
func(anime *arn.Anime) bool {
2018-04-07 14:32:37 +00:00
return true
2018-03-25 16:27:24 +00:00
},
func(anime *arn.Anime) string {
return "https://www.google.com/search?q=" + anime.Title.Canonical
},
)
}