Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind.
Philosophy
New gophers that make the switch from Node.js to Go are dealing with a learning curve before they can start building their web applications or microservices. Fiber, as a web framework, was created with the idea of minimalism and follows the UNIX way, so that new gophers can quickly enter the world of Go with a warm and trusted welcome.
Quickstart
package main
import "github.com/gofiber/fiber"
func main() {
app := fiber.New()
app.Get("/", func(c *fiber.Ctx) {
c.Send("Hello, World!")
})
app.Listen(3000)
}
Benchmarks
These tests are performed by TechEmpower and Go Web. If you want to see all results, please visit Wiki.
Features
- Robust routing
- Serve static files
- Extreme performance
- Low memory footprint
- API endpoints
- Middleware & Next support
- Rapid server-side programming
- Template engines
- WebSocket support
- Rate Limiter
- Translated in 12 other languages
- And much more, explore Fiber