2018-04-22 15:43:20 +00:00
|
|
|
package characters
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/aerogo/aero"
|
2018-10-27 02:01:21 +00:00
|
|
|
"github.com/animenotifier/arn"
|
2018-04-22 15:43:20 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Best characters.
|
|
|
|
func Best(ctx *aero.Context) string {
|
|
|
|
characters := fetchAll()
|
|
|
|
|
2018-10-27 02:01:21 +00:00
|
|
|
arn.SortCharactersByLikes(characters)
|
2018-04-22 15:43:20 +00:00
|
|
|
|
|
|
|
return render(ctx, characters)
|
|
|
|
}
|