mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-24 17:03:57 +00:00
2.1 KiB
2.1 KiB
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