19 lines
316 B
Go

package filteranime
import (
"github.com/aerogo/aero"
"github.com/animenotifier/notify.moe/arn"
)
// EpisodeLength ...
func EpisodeLength(ctx aero.Context) error {
return editorList(
ctx,
"Anime without an episode length",
func(anime *arn.Anime) bool {
return anime.EpisodeLength == 0
},
nil,
)
}