From ca3696624d64b95ef4f9ee32c449de15a6564bf0 Mon Sep 17 00:00:00 2001 From: wernerr Date: Tue, 24 Aug 2021 08:38:15 +0200 Subject: [PATCH] correct documentation for the skip middleware --- middleware/skip/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleware/skip/README.md b/middleware/skip/README.md index 9d5e832d..fb66c7be 100644 --- a/middleware/skip/README.md +++ b/middleware/skip/README.md @@ -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 })) ```