From b1e7d4ae0a9619647da54c0b7fe9fc9f6b19fae5 Mon Sep 17 00:00:00 2001 From: Sven Efftinge Date: Sat, 8 Feb 2020 13:08:07 +0000 Subject: [PATCH 1/4] Add gitpod config this commit adds support for Gitpod.io, a free automated dev environment that makes contributing and generally working on GitHub projects much easier. It allows anyone to start a ready-to-code dev environment for any branch, issue and pull request with a single click. --- .gitpod.yml | 2 ++ README.md | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..f1e44ef1 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,2 @@ +tasks: + - init: go get && go build ./... && go test ./... diff --git a/README.md b/README.md index 4fce91da..99dc61ed 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ + # 🚀 Fiber ru ch -[![](https://img.shields.io/github/release/gofiber/fiber)](https://github.com/gofiber/fiber/releases) ![](https://img.shields.io/github/languages/top/gofiber/fiber) [![](https://godoc.org/github.com/gofiber/fiber?status.svg)](https://godoc.org/github.com/gofiber/fiber) ![](https://goreportcard.com/badge/github.com/gofiber/fiber) [![GitHub license](https://img.shields.io/github/license/gofiber/fiber.svg)](https://github.com/gofiber/fiber/blob/master/LICENSE) [![Join the chat at https://gitter.im/gofiber/community](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gofiber/community) +[![](https://img.shields.io/github/release/gofiber/fiber)](https://github.com/gofiber/fiber/releases) ![](https://img.shields.io/github/languages/top/gofiber/fiber) [![](https://godoc.org/github.com/gofiber/fiber?status.svg)](https://godoc.org/github.com/gofiber/fiber) ![](https://goreportcard.com/badge/github.com/gofiber/fiber) [![GitHub license](https://img.shields.io/github/license/gofiber/fiber.svg)](https://github.com/gofiber/fiber/blob/master/LICENSE) [![Join the chat at https://gitter.im/gofiber/community](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gofiber/community) [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/gofiber/fiber) Fiber logo From c9455af4a5290137727a015fc65644ad20937bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vic=20Sh=C3=B3stak?= Date: Sat, 8 Feb 2020 20:19:10 +0300 Subject: [PATCH 2/4] Update README_NEW.md --- .github/README_NEW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/README_NEW.md b/.github/README_NEW.md index d2471628..2f7596a7 100644 --- a/.github/README_NEW.md +++ b/.github/README_NEW.md @@ -2,7 +2,7 @@ # 🚀 Fiber ru ch -[![](https://img.shields.io/github/release/gofiber/fiber)](https://github.com/gofiber/fiber/releases) ![](https://img.shields.io/github/languages/top/gofiber/fiber) [![](https://godoc.org/github.com/gofiber/fiber?status.svg)](https://godoc.org/github.com/gofiber/fiber) ![](https://goreportcard.com/badge/github.com/gofiber/fiber) [![GitHub license](https://img.shields.io/github/license/gofiber/fiber.svg)](https://github.com/gofiber/fiber/blob/master/LICENSE) [![Join the chat at https://gitter.im/gofiber/community](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gofiber/community) +[![](https://img.shields.io/github/release/gofiber/fiber)](https://github.com/gofiber/fiber/releases) ![](https://img.shields.io/github/languages/top/gofiber/fiber) [![](https://godoc.org/github.com/gofiber/fiber?status.svg)](https://godoc.org/github.com/gofiber/fiber) ![](https://goreportcard.com/badge/github.com/gofiber/fiber) [![GitHub license](https://img.shields.io/github/license/gofiber/fiber.svg)](https://github.com/gofiber/fiber/blob/master/LICENSE) [![Join the chat at https://gitter.im/gofiber/community](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gofiber/community) [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/gofiber/fiber) **Fiber** — is an [Express.js](https://github.com/expressjs/express) **inspired** web framework build on [Fasthttp](https://github.com/valyala/fasthttp) for [Go](https://golang.org/doc/). Designed to **ease** things up for **fast** development with **zero memory allocation** and **performance** in mind. From e03b7fc696515cc1923fac7d39b0d185fb5c877d Mon Sep 17 00:00:00 2001 From: Fenny <08jadez@gmail.com> Date: Sat, 8 Feb 2020 12:28:57 -0500 Subject: [PATCH 3/4] Update README_NEW.md --- .github/README_NEW.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/README_NEW.md b/.github/README_NEW.md index 2f7596a7..b2ce2be9 100644 --- a/.github/README_NEW.md +++ b/.github/README_NEW.md @@ -14,15 +14,12 @@ package main import "github.com/gofiber/fiber" func main() { - // Create new Fiber instance app := fiber.New() - // Create new route with GET method app.Get("/", func(c *fiber.Ctx) { - c.Write("Hello, World!") + c.Send("Hello, World!") }) - - // Start server on http://localhost:3000 + app.Listen(3000) } ``` From 486812c1b805b2f95b1289ec23c1c8d6b8e4ba9a Mon Sep 17 00:00:00 2001 From: Fenny <08jadez@gmail.com> Date: Sat, 8 Feb 2020 20:35:00 +0100 Subject: [PATCH 4/4] Coffee --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 101a5a84..2500da73 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -5,4 +5,4 @@ patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -custom: https://github.com/gofiber/fiber/ +custom: https://www.buymeacoffee.com/fenny