correct documentation for the skip middleware

This commit is contained in:
wernerr 2021-08-24 08:38:15 +02:00
parent 0e08bb4fe7
commit ca3696624d

View File

@ -22,5 +22,5 @@ import (
After you initiate your Fiber app, you can use the following possibilities:
```go
app.Use(skip.New(handler), func(ctx *fiber.Ctx) bool { return ctx.Method() == fiber.MethodOptions })
app.Use(skip.New(handler, func(ctx *fiber.Ctx) bool { return ctx.Method() == fiber.MethodOptions }))
```