19 lines
295 B
Go
19 lines
295 B
Go
|
package filteranime
|
||
|
|
||
|
import (
|
||
|
"github.com/aerogo/aero"
|
||
|
"github.com/animenotifier/arn"
|
||
|
)
|
||
|
|
||
|
// Synopsis ...
|
||
|
func Synopsis(ctx *aero.Context) string {
|
||
|
return editorList(
|
||
|
ctx,
|
||
|
"Anime without a long synopsis",
|
||
|
func(anime *arn.Anime) bool {
|
||
|
return len(anime.Summary) < 170
|
||
|
},
|
||
|
nil,
|
||
|
)
|
||
|
}
|