Skip to content

Commit 9257182

Browse files
Fennygitbook-bot
authored andcommitted
GitBook: [master] one page modified
1 parent b9452ec commit 9257182

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

context.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,18 +1062,14 @@ c.Send(body ...interface{})
10621062
{% endcode %}
10631063

10641064
{% code title="Example" %}
1065-
```text
1066-
1067-
```
1068-
{% endcode %}
1069-
10701065
```go
10711066
app.Get("/", func(c *fiber.Ctx) {
10721067
c.Send("Hello, World!") // => "Hello, World!"
10731068
c.Send([]byte("Hello, World!")) // => "Hello, World!"
10741069
c.Send(123) // => 123
10751070
})
10761071
```
1072+
{% endcode %}
10771073

10781074
Fiber also provides `SendBytes` & `SendString` methods for raw inputs.
10791075

0 commit comments

Comments
 (0)