Merge pull request #842 from kiyonlin/fix-mw-typo

📚 fix typo
This commit is contained in:
Fenny 2020-09-28 14:45:06 +02:00 committed by GitHub
commit a514716aed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ func New(config ...Config) fiber.Handler
```
### Examples
Import the compress package that is part of the Fiber web framework
Import the middleware package that is part of the Fiber web framework
```go
import (
"github.com/gofiber/fiber/v2"

View File

@ -10,7 +10,7 @@ func New() fiber.Handler
```
### Example
Import the compress package that is part of the Fiber web framework
Import the middleware package that is part of the Fiber web framework
```go
import (
"github.com/gofiber/fiber/v2"
@ -22,4 +22,4 @@ After you initiate your Fiber app, you can use the following possibilities:
```go
// Default middleware
app.Use(pprof.New())
```
```