19 lines
294 B
Go

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