2018-04-08 08:55:17 +00:00
|
|
|
package filteranime
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/aero"
|
2019-06-03 09:32:43 +00:00
|
|
|
"github.com/animenotifier/notify.moe/arn"
|
2018-04-08 08:55:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Characters ...
|
2019-06-01 04:55:49 +00:00
|
|
|
func Characters(ctx aero.Context) error {
|
2018-04-08 08:55:17 +00:00
|
|
|
return editorList(
|
|
|
|
ctx,
|
|
|
|
"Anime without characters",
|
|
|
|
func(anime *arn.Anime) bool {
|
|
|
|
return len(anime.Characters().Items) == 0
|
|
|
|
},
|
|
|
|
nil,
|
|
|
|
)
|
|
|
|
}
|