Upgraded to latest aero version

This commit is contained in:
2019-06-01 13:55:49 +09:00
parent ae591e5e7e
commit 28db818c37
196 changed files with 645 additions and 593 deletions

View File

@ -9,7 +9,7 @@ import (
)
// Anime ...
func Anime(ctx *aero.Context) string {
func Anime(ctx aero.Context) error {
pieCharts := getAnimeStats()
return ctx.HTML(components.Statistics(pieCharts))
}

View File

@ -12,7 +12,7 @@ import (
type stats map[string]float64
// Get ...
func Get(ctx *aero.Context) string {
func Get(ctx aero.Context) error {
pieCharts := getUserStats()
return ctx.HTML(components.Statistics(pieCharts))
}