mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
correct documentation for the skip middleware
This commit is contained in:
parent
0e08bb4fe7
commit
ca3696624d
@ -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 }))
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user