From 0355eba9ca589a9a5e67890d85d1bbdc9e9b6853 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 27 Mar 2020 22:42:30 -0400 Subject: [PATCH 1/4] LoggerConfig -> Config --- .github/README.md | 2 +- .github/README_de.md | 2 +- .github/README_es.md | 2 +- .github/README_fr.md | 2 +- .github/README_id.md | 2 +- .github/README_ja.md | 2 +- .github/README_ko.md | 2 +- .github/README_pt.md | 2 +- .github/README_ru.md | 2 +- .github/README_tr.md | 2 +- .github/README_zh-CN.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/README.md b/.github/README.md index 49a27baa..d3b425f3 100644 --- a/.github/README.md +++ b/.github/README.md @@ -304,7 +304,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_de.md b/.github/README_de.md index 61ef1d64..51bd0dd0 100644 --- a/.github/README_de.md +++ b/.github/README_de.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_es.md b/.github/README_es.md index cfca39a0..bfc1dfca 100644 --- a/.github/README_es.md +++ b/.github/README_es.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_fr.md b/.github/README_fr.md index 8cb58eb5..4b5af67a 100644 --- a/.github/README_fr.md +++ b/.github/README_fr.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_id.md b/.github/README_id.md index 450ab87b..e3b8b08c 100644 --- a/.github/README_id.md +++ b/.github/README_id.md @@ -302,7 +302,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_ja.md b/.github/README_ja.md index bd2db5c2..2434a22a 100644 --- a/.github/README_ja.md +++ b/.github/README_ja.md @@ -304,7 +304,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_ko.md b/.github/README_ko.md index 6cc89ee7..da40b56a 100644 --- a/.github/README_ko.md +++ b/.github/README_ko.md @@ -304,7 +304,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_pt.md b/.github/README_pt.md index 5798ab0b..3d05a8c1 100644 --- a/.github/README_pt.md +++ b/.github/README_pt.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_ru.md b/.github/README_ru.md index dc9eb314..322bfe87 100644 --- a/.github/README_ru.md +++ b/.github/README_ru.md @@ -302,7 +302,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_tr.md b/.github/README_tr.md index c0afd7b6..6df30ead 100644 --- a/.github/README_tr.md +++ b/.github/README_tr.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } diff --git a/.github/README_zh-CN.md b/.github/README_zh-CN.md index b4fec93d..598a17b3 100644 --- a/.github/README_zh-CN.md +++ b/.github/README_zh-CN.md @@ -300,7 +300,7 @@ func main() { app := fiber.New() // Optional logger config - config := logger.LoggerConfig{ + config := logger.Config{ Format: "${time} - ${method} ${path}\n", TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST", } From b1a908b397a9f67a311dc567df50e557a3422280 Mon Sep 17 00:00:00 2001 From: Owen Date: Fri, 27 Mar 2020 22:46:11 -0400 Subject: [PATCH 2/4] changed LoggerConfig to Config for recover middleware as well --- .github/README.md | 2 +- .github/README_de.md | 2 +- .github/README_es.md | 2 +- .github/README_fr.md | 2 +- .github/README_id.md | 2 +- .github/README_ja.md | 2 +- .github/README_ko.md | 2 +- .github/README_pt.md | 2 +- .github/README_ru.md | 2 +- .github/README_tr.md | 2 +- .github/README_zh-CN.md | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/README.md b/.github/README.md index d3b425f3..ddb7daa9 100644 --- a/.github/README.md +++ b/.github/README.md @@ -448,7 +448,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_de.md b/.github/README_de.md index 51bd0dd0..ca9b3a2e 100644 --- a/.github/README_de.md +++ b/.github/README_de.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_es.md b/.github/README_es.md index bfc1dfca..1e8f641d 100644 --- a/.github/README_es.md +++ b/.github/README_es.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_fr.md b/.github/README_fr.md index 4b5af67a..dce3a9a5 100644 --- a/.github/README_fr.md +++ b/.github/README_fr.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_id.md b/.github/README_id.md index e3b8b08c..876132f2 100644 --- a/.github/README_id.md +++ b/.github/README_id.md @@ -446,7 +446,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ja.md b/.github/README_ja.md index 2434a22a..9361aa25 100644 --- a/.github/README_ja.md +++ b/.github/README_ja.md @@ -448,7 +448,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ko.md b/.github/README_ko.md index da40b56a..711c832c 100644 --- a/.github/README_ko.md +++ b/.github/README_ko.md @@ -448,7 +448,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_pt.md b/.github/README_pt.md index 3d05a8c1..fb0641b6 100644 --- a/.github/README_pt.md +++ b/.github/README_pt.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_ru.md b/.github/README_ru.md index 322bfe87..cb0b9f30 100644 --- a/.github/README_ru.md +++ b/.github/README_ru.md @@ -446,7 +446,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_tr.md b/.github/README_tr.md index 6df30ead..af361f7d 100644 --- a/.github/README_tr.md +++ b/.github/README_tr.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) diff --git a/.github/README_zh-CN.md b/.github/README_zh-CN.md index 598a17b3..ea246fc0 100644 --- a/.github/README_zh-CN.md +++ b/.github/README_zh-CN.md @@ -444,7 +444,7 @@ func main() { app := fiber.New() // Optional recover config - config := recover.LoggerConfig{ + config := recover.Config{ Handler: func(c *fiber.Ctx, err error) { c.SendString(err.Error()) c.SendStatus(500) From 25a81f4745b86e4ccc02c04b0b509ee52e4bc4e5 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Sat, 4 Apr 2020 19:41:37 +0200 Subject: [PATCH 3/4] Update README.md --- .github/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/README.md b/.github/README.md index 133519c4..eb96d07e 100644 --- a/.github/README.md +++ b/.github/README.md @@ -44,7 +44,7 @@ - + @@ -61,6 +61,12 @@ + + + + + +

Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind. @@ -558,4 +564,4 @@ If you want to say **thank you** and/or support the active development of `Fiber ## ⚠️ License -`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International). \ No newline at end of file +`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International). From d28a4ff18aea699c71839f441f13b8c53eb8f7a8 Mon Sep 17 00:00:00 2001 From: Fenny <25108519+Fenny@users.noreply.github.com> Date: Sat, 4 Apr 2020 19:42:15 +0200 Subject: [PATCH 4/4] Update README.md --- .github/README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/README.md b/.github/README.md index eb96d07e..5274031d 100644 --- a/.github/README.md +++ b/.github/README.md @@ -41,7 +41,7 @@ - + @@ -61,9 +61,6 @@ - - -