Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #1477

Merged
merged 1 commit into from
Aug 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -240,9 +240,9 @@ func main() {

### Views engines

📖 [Config](https://docs.gofiber.io/fiber#config)
📖 [Config](https://docs.gofiber.io/api/fiber#config)
📖 [Engines](https://github.com/gofiber/template)
📖 [Render](https://docs.gofiber.io/context#render)
📖 [Render](https://docs.gofiber.io/api/ctx#render)

Fiber defaults to the [html/template](https://golang.org/pkg/html/template/) when no view engine is set.

Expand Down Expand Up @@ -278,7 +278,7 @@ func main() {

### Grouping routes into chains

📖 [Group](https://docs.gofiber.io/application#group)
📖 [Group](https://docs.gofiber.io/api/app#group)

```go
func middleware(c *fiber.Ctx) error {
Expand Down Expand Up @@ -313,7 +313,7 @@ func main() {

### Middleware logger

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

```go
package main
Expand All @@ -338,7 +338,7 @@ func main() {

### Cross-Origin Resource Sharing (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

```go
import (
Expand Down Expand Up @@ -367,7 +367,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### Custom 404 response

📖 [HTTP Methods](https://docs.gofiber.io/application#http-methods)
📖 [HTTP Methods](https://docs.gofiber.io/api/ctx#status)

```go
func main() {
Expand Down Expand Up @@ -459,7 +459,7 @@ func main() {

### Recover middleware

📖 [Recover](https://docs.gofiber.io/middleware/recover)
📖 [Recover](https://docs.gofiber.io/api/middleware/recover)

```go
import (
Expand Down
16 changes: 8 additions & 8 deletions .github/README_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -238,9 +238,9 @@ func main() {

### Views engines

📖 [Config](https://docs.gofiber.io/fiber#config)
📖 [Config](https://docs.gofiber.io/api/fiber#config)
📖 [Engines](https://github.com/gofiber/template)
📖 [Render](https://docs.gofiber.io/context#render)
📖 [Render](https://docs.gofiber.io/api/ctx#render)

Fiber defaults to the [html/template](https://golang.org/pkg/html/template/) when no view engine is set.

Expand Down Expand Up @@ -276,7 +276,7 @@ func main() {

### Grouping routes into chains

📖 [Group](https://docs.gofiber.io/application#group)
📖 [Group](https://docs.gofiber.io/api/app#group)

```go
func middleware(c *fiber.Ctx) error {
Expand Down Expand Up @@ -311,7 +311,7 @@ func main() {

### Middleware logger

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

```go
package main
Expand All @@ -336,7 +336,7 @@ func main() {

### Cross-Origin Resource Sharing (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

```go
import (
Expand Down Expand Up @@ -365,7 +365,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### Custom 404 response

📖 [HTTP Methods](https://docs.gofiber.io/application#http-methods)
📖 [HTTP Methods](https://docs.gofiber.io/api/ctx#status)

```go
func main() {
Expand Down Expand Up @@ -457,7 +457,7 @@ func main() {

### Recover middleware

📖 [Recover](https://docs.gofiber.io/middleware/recover)
📖 [Recover](https://docs.gofiber.io/api/middleware/recover)

```go
import (
Expand Down
16 changes: 8 additions & 8 deletions .github/README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -238,9 +238,9 @@ func main() {

### Views engines

📖 [Config](https://docs.gofiber.io/fiber#config)
📖 [Config](https://docs.gofiber.io/api/fiber#config)
📖 [Engines](https://github.com/gofiber/template)
📖 [Render](https://docs.gofiber.io/context#render)
📖 [Render](https://docs.gofiber.io/api/ctx#render)

Fiber defaults to the [html/template](https://golang.org/pkg/html/template/) when no view engine is set.

Expand Down Expand Up @@ -276,7 +276,7 @@ func main() {

### Agrupando rutas en cadenas

📖 [Group](https://docs.gofiber.io/application#group)
📖 [Group](https://docs.gofiber.io/api/app#group)

```go
func middleware(c *fiber.Ctx) error {
Expand Down Expand Up @@ -311,7 +311,7 @@ func main() {

### Middleware logger

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

```go
package main
Expand All @@ -336,7 +336,7 @@ func main() {

### Cross-Origin Resource Sharing (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

```go
import (
Expand Down Expand Up @@ -365,7 +365,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### Respuesta 404 personalizada

📖 [HTTP Methods](https://docs.gofiber.io/application#http-methods)
📖 [HTTP Methods](https://docs.gofiber.io/api/ctx#status)

```go
func main() {
Expand Down Expand Up @@ -457,7 +457,7 @@ func main() {

### Recover middleware

📖 [Recover](https://docs.gofiber.io/middleware/recover)
📖 [Recover](https://docs.gofiber.io/api/middleware/recover)

```go
import (
Expand Down
16 changes: 8 additions & 8 deletions .github/README_fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -300,9 +300,9 @@ func main() {

</br>

📖 [پیکربندی](https://docs.gofiber.io/fiber#config)
📖 [پیکربندی](https://docs.gofiber.io/api/fiber#config)
📖 [موتورها](https://github.com/gofiber/template)
📖 [رندر](https://docs.gofiber.io/context#render)
📖 [رندر](https://docs.gofiber.io/api/ctx#render)

<br>
<p align="center">
Expand Down Expand Up @@ -346,7 +346,7 @@ func main() {

### Grouping routes into chains

📖 [Group](https://docs.gofiber.io/application#group)
📖 [Group](https://docs.gofiber.io/api/app#group)

<div dir="ltr">

Expand Down Expand Up @@ -385,7 +385,7 @@ func main() {

### Middleware logger

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

<div dir="ltr">

Expand Down Expand Up @@ -414,7 +414,7 @@ func main() {

### Cross-Origin Resource Sharing (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

<div dir="ltr">

Expand Down Expand Up @@ -451,7 +451,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### Custom 404 response

📖 [HTTP Methods](https://docs.gofiber.io/application#http-methods)
📖 [HTTP Methods](https://docs.gofiber.io/api/ctx#status)

<div dir="ltr">

Expand Down Expand Up @@ -555,7 +555,7 @@ func main() {

### Recover middleware

📖 [Recover](https://docs.gofiber.io/middleware/recover)
📖 [Recover](https://docs.gofiber.io/api/middleware/recover)

<div dir="ltr">

Expand Down
16 changes: 8 additions & 8 deletions .github/README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -240,9 +240,9 @@ func main() {

### Views engines

📖 [Config](https://docs.gofiber.io/fiber#config)
📖 [Config](https://docs.gofiber.io/api/fiber#config)
📖 [Engines](https://github.com/gofiber/template)
📖 [Render](https://docs.gofiber.io/context#render)
📖 [Render](https://docs.gofiber.io/api/ctx#render)

Fiber defaults to the [html/template](https://golang.org/pkg/html/template/) when no view engine is set.

Expand Down Expand Up @@ -278,7 +278,7 @@ func main() {

### Grouping routes into chains

📖 [Group](https://docs.gofiber.io/application#group)
📖 [Group](https://docs.gofiber.io/api/app#group)

```go
func middleware(c *fiber.Ctx) error {
Expand Down Expand Up @@ -313,7 +313,7 @@ func main() {

### Middleware logger

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

```go
package main
Expand All @@ -338,7 +338,7 @@ func main() {

### Cross-Origin Resource Sharing (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

```go
import (
Expand Down Expand Up @@ -367,7 +367,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### Custom 404 response

📖 [HTTP Methods](https://docs.gofiber.io/application#http-methods)
📖 [HTTP Methods](https://docs.gofiber.io/api/ctx#status)

```go
func main() {
Expand Down Expand Up @@ -459,7 +459,7 @@ func main() {

### Recover middleware

📖 [Recover](https://docs.gofiber.io/middleware/recover)
📖 [Recover](https://docs.gofiber.io/api/middleware/recover)

```go
import (
Expand Down
16 changes: 8 additions & 8 deletions .github/README_he.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func main() {
msg := fmt.Sprintf("👴 %s is %s years old", c.Params("name"), c.Params("age"))
return c.SendString(msg) // => 👴 john is 75 years old
})

// GET /john
app.Get("/:name", func(c *fiber.Ctx) error {
msg := fmt.Sprintf("Hello, %s 👋!", c.Params("name"))
Expand Down Expand Up @@ -302,9 +302,9 @@ func main() {

### Views engines

📖 [Config](https://docs.gofiber.io/fiber#config)
📖 [Config](https://docs.gofiber.io/api/fiber#config)
📖 [Engines](https://github.com/gofiber/template)
📖 [Render](https://docs.gofiber.io/context#render)
📖 [Render](https://docs.gofiber.io/api/ctx#render)

Fiber defaults to the [html/template](https://golang.org/pkg/html/template/) when no view engine is set.

Expand Down Expand Up @@ -344,7 +344,7 @@ func main() {

### קיבוץ routes ל-chains

📖 [קבוצות](https://docs.gofiber.io/application#group)
📖 [קבוצות](https://docs.gofiber.io/api/app#group)

<div dir="ltr">

Expand Down Expand Up @@ -383,7 +383,7 @@ func main() {

### Middleware של לוגים

📖 [Logger](https://docs.gofiber.io/middleware/logger)
📖 [Logger](https://docs.gofiber.io/api/middleware/logger)

<div dir="ltr">

Expand Down Expand Up @@ -412,7 +412,7 @@ func main() {

### שיתוף משאבים בין מקורות (CORS)

📖 [CORS](https://docs.gofiber.io/middleware/cors)
📖 [CORS](https://docs.gofiber.io/api/middleware/cors)

<div dir="ltr">

Expand Down Expand Up @@ -449,7 +449,7 @@ curl -H "Origin: http://example.com" --verbose http://localhost:3000

### תגובת 404 מותאמת אישית

📖 [שיטות HTTP](https://docs.gofiber.io/application#http-methods)
📖 [שיטות HTTP](https://docs.gofiber.io/api/ctx#status)

<div dir="ltr">

Expand Down Expand Up @@ -553,7 +553,7 @@ func main() {

### Middleware של התאוששות

📖 [התאוששות](https://docs.gofiber.io/middleware/recover)
📖 [התאוששות](https://docs.gofiber.io/api/middleware/recover)

<div dir="ltr">

Expand Down
Loading