Skip to content

Commit 16bd350

Browse files
Add docs from gofiber/fiber@d0ed605
1 parent 56d938d commit 16bd350

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/core/extra/faq.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ Fiber currently supports 9 template engines in our [gofiber/template](https://do
8383
* [ace](https://docs.gofiber.io/template/ace/)
8484
* [amber](https://docs.gofiber.io/template/amber/)
8585
* [django](https://docs.gofiber.io/template/django/)
86-
* [handlebars](https://docs.gofiber.io/template/handlebars)
87-
* [html](https://docs.gofiber.io/template/html)
88-
* [jet](https://docs.gofiber.io/template/jet)
89-
* [mustache](https://docs.gofiber.io/template/mustache)
90-
* [pug](https://docs.gofiber.io/template/pug)
91-
* [slim](https://docs.gofiber.io/template/slim)
86+
* [handlebars](https://docs.gofiber.io/template/handlebars/)
87+
* [html](https://docs.gofiber.io/template/html/)
88+
* [jet](https://docs.gofiber.io/template/jet/)
89+
* [mustache](https://docs.gofiber.io/template/mustache/)
90+
* [pug](https://docs.gofiber.io/template/pug/)
91+
* [slim](https://docs.gofiber.io/template/slim/)
9292

9393
To learn more about using Templates in Fiber, see [Templates](../guide/templates.md).
9494

docs/core/whats_new.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,14 @@ testConfig := fiber.TestConfig{
346346

347347
### Removed Methods
348348

349-
- **AllParams**: Use `c.Bind().URL()` instead.
349+
- **AllParams**: Use `c.Bind().URI()` instead.
350350
- **ParamsInt**: Use `Params` with generic types.
351351
- **QueryBool**: Use `Query` with generic types.
352352
- **QueryFloat**: Use `Query` with generic types.
353353
- **QueryInt**: Use `Query` with generic types.
354354
- **BodyParser**: Use `c.Bind().Body()` instead.
355355
- **CookieParser**: Use `c.Bind().Cookie()` instead.
356-
- **ParamsParser**: Use `c.Bind().URL()` instead.
356+
- **ParamsParser**: Use `c.Bind().URI()` instead.
357357
- **RedirectToRoute**: Use `c.Redirect().Route()` instead.
358358
- **RedirectBack**: Use `c.Redirect().Back()` instead.
359359
- **ReqHeaderParser**: Use `c.Bind().Header()` instead.
@@ -1117,7 +1117,7 @@ The `Parser` section in Fiber v3 has undergone significant changes to improve fu
11171117

11181118
</details>
11191119

1120-
2. **ParamsParser**: Use `c.Bind().URL()` instead of `c.ParamsParser()`.
1120+
2. **ParamsParser**: Use `c.Bind().URI()` instead of `c.ParamsParser()`.
11211121

11221122
<details>
11231123
<summary>Example</summary>
@@ -1137,7 +1137,7 @@ The `Parser` section in Fiber v3 has undergone significant changes to improve fu
11371137
// After
11381138
app.Get("/user/:id", func(c fiber.Ctx) error {
11391139
var params Params
1140-
if err := c.Bind().URL(&params); err != nil {
1140+
if err := c.Bind().URI(&params); err != nil {
11411141
return c.Status(fiber.StatusBadRequest).JSON(fiber.Map{"error": err.Error()})
11421142
}
11431143
return c.JSON(params)

0 commit comments

Comments
 (0)