package main import ( "log" "github.com/gofiber/fiber/v2" "github.com/gofiber/template/html" ) func main() { engine := html.New("./views", ".html") app := fiber.New(fiber.Config{ Views: engine, ServerHeader: "gobin", }) app.Get("/", func(c *fiber.Ctx) error { return c.Render("home", fiber.Map{}) }) log.Fatal(app.Listen(":3000")) }