Skip to content

Commit

Permalink
Merge pull request #7 from mfreeman451/updates/doc_updates
Browse files Browse the repository at this point in the history
πŸ“ updated the main example
  • Loading branch information
acidjazz authored Aug 22, 2023
2 parents e511e34 + 7f45686 commit 1425912
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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{})
}
```

Expand Down

0 comments on commit 1425912

Please sign in to comment.