Skip to content

Commit fa70d2b

Browse files
authored
📒 docs: Fix typos (#3464)
fix typos
1 parent cc636b5 commit fa70d2b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

client/request_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,7 +1267,7 @@ func Test_Request_Body_With_Server(t *testing.T) {
12671267

12681268
require.Equal(t, "myBoundary", req.Boundary())
12691269

1270-
resp, err := req.Post("http://exmaple.com")
1270+
resp, err := req.Post("http://example.com")
12711271
require.NoError(t, err)
12721272
require.Equal(t, fiber.StatusOK, resp.StatusCode())
12731273

@@ -1356,7 +1356,7 @@ func Test_Request_Body_With_Server(t *testing.T) {
13561356
SetFileReader(io.NopCloser(strings.NewReader("world"))),
13571357
))
13581358

1359-
resp, err := req.Post("http://exmaple.com")
1359+
resp, err := req.Post("http://example.com")
13601360
require.NoError(t, err)
13611361
require.Equal(t, fiber.StatusOK, resp.StatusCode())
13621362
})

docs/api/ctx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1638,7 +1638,7 @@ app.Use(func(c fiber.Ctx) error {
16381638
return c.Writef("(got error %v)", err)
16391639
}
16401640

1641-
// No errors occured
1641+
// No errors occurred
16421642
return nil
16431643
})
16441644

docs/guide/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ app := fiber.New(fiber.Config{
1919
// Pass in Views Template Engine
2020
Views: engine,
2121

22-
// Default global path to search for views (can be overriden when calling Render())
22+
// Default global path to search for views (can be overridden when calling Render())
2323
ViewsLayout: "layouts/main",
2424

2525
// Enables/Disables access to `ctx.Locals()` entries in rendered views

docs/whats_new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Registering a subapp is now also possible via the [`Use`](./api/app#use) method
302302
<summary>Example</summary>
303303

304304
```go
305-
// register mulitple prefixes
305+
// register multiple prefixes
306306
app.Use(["/v1", "/v2"], func(c fiber.Ctx) error {
307307
// Middleware for /v1 and /v2
308308
return c.Next()

0 commit comments

Comments
 (0)