Added characters page

This commit is contained in:
2018-04-22 17:43:20 +02:00
parent e8c66f28ab
commit 8a8b363e03
10 changed files with 203 additions and 9 deletions

View File

@ -0,0 +1,9 @@
package characters
import "github.com/animenotifier/arn"
func fetchAll() []*arn.Character {
return arn.FilterCharacters(func(character *arn.Character) bool {
return !character.IsDraft
})
}