19 lines
292 B
Go

package filteranime
import (
"github.com/aerogo/aero"
"github.com/animenotifier/arn"
)
// Licensors ...
func Licensors(ctx aero.Context) error {
return editorList(
ctx,
"Anime without licensors",
func(anime *arn.Anime) bool {
return len(anime.LicensorIDs) == 0
},
nil,
)
}