1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-24 17:03:57 +00:00
fiber/README_NEW.md
2020-02-07 03:21:34 +01:00

2.1 KiB

Fiber Logo

Express inspired web framework build on Fasthttp for Go, designed to ease things up for fast development with zero memory allocation and performance in mind.

package main

import "github.com/gofiber/fiber"

func main() {
  app := fiber.New()

  app.Get("/", func(c *fiber.Ctx) {
    c.Write("Hello, World!")
  })

  app.Listen(3000)
}

Benchmarks

These tests are performed by TechEmpower and Go Web. If you want to see all results, please visit our wiki#benchmarks.

Installation

Before installing, download and install Go. Go 1.11 or higher is required.

Installation is done using the go get command:

go get github.com/gofiber/fiber