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.
 
 
 
 
 
zedshaw-games/admin/handlers.go

13 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);
}