Fiber is an Express-inspired web framework for Go, built on top of Fasthttp and designed for fast development with zero memory allocation and performance in mind.
π Docs Β· π¬ Discord Β· π Benchmarks Β· β Sponsor
go get github.com/gofiber/fiber/v3package main
import (
"log"
"github.com/gofiber/fiber/v3"
)
func main() {
app := fiber.New()
app.Get("/", func(c fiber.Ctx) error {
return c.SendString("Hello, World π!")
})
log.Fatal(app.Listen(":3000"))
}| Repository | Description |
|---|---|
| fiber | The web framework, including the core middleware |
| contrib | Additional middleware with third-party dependencies |
| storage | Premade storage drivers for sessions, caching, rate limiting and more |
| template | Template engines for rendering views |
| schema | Converts structs to and from form values |
| utils | Fast, low-allocation helper functions |
| cli | Command line tool for Fiber projects |
| recipes | Ready-to-run examples for common use cases |
| boilerplate | Starter project for new Fiber applications |
| awesome-fiber | Curated list of middleware, tools, articles and projects |
| benchmarks | Request benchmarks for Fiber v2 and v3 |
| docs | Source of docs.gofiber.io |
Contributions of every size are welcome. Please read the contributing guide and our code of conduct first. Questions are best asked on Discord; security issues are reported as described in the security policy.
Fiber is free and open source. If it helps you or your company, consider sponsoring the project.