16 lines
258 B
Go
16 lines
258 B
Go
package characters
|
|
|
|
import (
|
|
"github.com/aerogo/aero"
|
|
"github.com/animenotifier/notify.moe/arn"
|
|
)
|
|
|
|
// Best characters.
|
|
func Best(ctx aero.Context) error {
|
|
characters := fetchAll()
|
|
|
|
arn.SortCharactersByLikes(characters)
|
|
|
|
return render(ctx, characters)
|
|
}
|