From 7f456868e7a0d85d31594eaeeff43086eb4a1208 Mon Sep 17 00:00:00 2001 From: mfreeman451 Date: Mon, 21 Aug 2023 14:09:23 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20updated=20the=20main=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 90ceea7..956dbab 100644 --- a/readme.md +++ b/readme.md @@ -33,13 +33,13 @@ import ( fume "github.com/fumeapp/fiber" "github.com/fumeapp/tonic" "github.com/fumeapp/tonic/render" - "github.com/gofiber/fiber/v2" + "github.com/gofiber/fiber/v2" ) func main() { - app := tonic.Init() + app := tonic.Init(&fiber.Config{}) app.Get("/", func(c *fiber.Ctx) { render.Render(c, render.H{"message": "Hello World"}) }) - fume.Start(routes, fume.Options{}) + fume.Start(app, fume.Options{}) } ```