Update README_NEW.md

This commit is contained in:
Fenny 2020-02-07 04:35:31 +01:00 committed by GitHub
parent ce0117eedc
commit 27ad5cd237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ Designed to ease things up for fast development with zero memory allocation and
![](https://img.shields.io/badge/goreport-A+-brightgreen.svg?longCache=true&style=flat) ![](https://img.shields.io/badge/goreport-A+-brightgreen.svg?longCache=true&style=flat)
[![](https://img.shields.io/badge/gitter-chat-brightgreen.svg?longCache=true&style=flat)](https://pkg.go.dev/github.com/gofiber/fiber?tab=doc) [![](https://img.shields.io/badge/gitter-chat-brightgreen.svg?longCache=true&style=flat)](https://pkg.go.dev/github.com/gofiber/fiber?tab=doc)
```go ```golang
package main package main
import "github.com/gofiber/fiber" import "github.com/gofiber/fiber"
@ -69,7 +69,7 @@ Fiber is inspired by the Express framework, the most populair web framework on w
Listed below are some of the common examples. If you want to see more code examples, please visit our [recipes repository](https://github.com/gofiber/recipes) or [api documentation](https://fiber.wiki). Listed below are some of the common examples. If you want to see more code examples, please visit our [recipes repository](https://github.com/gofiber/recipes) or [api documentation](https://fiber.wiki).
_**Static files**_ _**Static files**_
```go ```golang
// ... // ...
app := fiber.New() app := fiber.New()
@ -108,7 +108,7 @@ app.Listen(3000)
``` ```
_**Middleware**_ _**Middleware**_
```go ```golang
// ... // ...
app := fiber.New() app := fiber.New()
@ -140,7 +140,7 @@ app.Listen(3000)
``` ```
_**404 Handling**_ _**404 Handling**_
```go ```golang
// ... // ...
app := fiber.New() app := fiber.New()
@ -155,7 +155,7 @@ app.Listen(3000)
``` ```
_**JSON Response**_ _**JSON Response**_
```go ```golang
// ... // ...
app := fiber.New() app := fiber.New()