Skip to content

Commit a1309bc

Browse files
Fennygitbook-bot
authored andcommitted
GitBook: [master] 6 pages modified
1 parent e89a019 commit a1309bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Routes an HTTP request, where **METHOD** is the [HTTP method](https://developer.
188188
```go
189189
// HTTP methods support :param, :optional? and *wildcards
190190
// You are required to pass a path to each method
191-
app.All(path string, handlers ...func(*Ctx))
191+
app.All(path string, handlers ...func(*Ctx)) *Fiber
192192
app.Get
193193
app.Put
194194
app.Post
@@ -203,7 +203,7 @@ app.Options
203203
// i.e. "/john" will match "/john/doe", "/johnnnn"
204204
// Use() does not support :param & :optional? in path
205205
app.Use(handlers ...func(*Ctx))
206-
app.Use(prefix string, handlers ...func(*Ctx))
206+
app.Use(prefix string, handlers ...func(*Ctx)) *Fiber
207207
```
208208
{% endcode %}
209209

0 commit comments

Comments
 (0)