19 lines
307 B
Go
Raw Normal View History

2018-03-26 17:44:35 +00:00
package filteranime
import (
"github.com/aerogo/aero"
"github.com/animenotifier/arn"
)
// EpisodeLength ...
func EpisodeLength(ctx *aero.Context) string {
return editorList(
ctx,
"Anime without an episode length",
func(anime *arn.Anime) bool {
return anime.EpisodeLength == 0
},
nil,
)
}