A website for my game dev stuff that supports chat, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
zedshaw-games/admin/handlers.go

14 lines
213 B

package admin
import (
"github.com/gofiber/fiber/v2"
)
func GetPageIndex(c *fiber.Ctx) error {
return c.Render("admin/index", fiber.Map{})
}
func Setup(app *fiber.App) {
app.Get("/admin/", GetPageIndex);
}