Top Go (Golang) web frameworks and HTTP routers
Gin, Fiber, Echo, Beego, chi, gorilla/mux and other ways to build web apps and APIs in Go
Mis à jour · GitHub stars (stars)
Pourquoi ces 20
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not speed or fit, so each row also shows forks, licence and the last push. The list mixes three choices Go teams make: minimal HTTP frameworks (Gin, Echo, Fiber, Hertz), batteries-included frameworks with an ORM and scaffolding (Beego, GoFrame, Goravel) and plain routers (chi, gorilla/mux, httprouter) that sit on the standard library's net/http, which many teams prefer to a framework. Fiber and Hertz are built on their own HTTP engines rather than net/http, so standard middleware doesn't plug in directly. Older projects keep stars after activity slows: check the last push. It doesn't show benchmark results.
-
1
Gin
Gin is a web framework written in Go! It features a martini-like API with much better performance, up to 40 times faster. If you need performance and good...
89,578 stars 8,827 forkslast push 2026-10-10GoMIT
-
2
Fiber
An Express.js inspired web framework build on Fasthttp.
40,316 stars 2,171 forkslast push 2026-11-25GoMIT
-
3
Echo
High performance, minimalist Go web framework.
32,840 stars 2,889 forkslast push 2026-11-20GoMIT
-
4
Beego
beego is an open-source, high-performance web framework for the Go programming language.
32,429 stars 5,555 forkslast push 2026-11-13GoNOASSERTION
-
5
chi
Small, fast and expressive HTTP router built on net/context.
23,158 stars 1,670 forkslast push 2026-11-07GoMIT
Aussi dans: #1 Go (Golang) HTTP routers
-
6
mux
Powerful URL router and dispatcher for golang.
21,830 stars 1,892 forkslast push 2024-08-15GoBSD-3-Clause
Aussi dans: #2 Go (Golang) HTTP routers
-
7
GoFr
Gofr is an opinionated microservice development framework.
20,786 stars 1,791 forkslast push 2026-11-25GoApache-2.0
-
8
julienschmidt/httprouter
High performance router. Use this and the standard http handlers to form a very high performance web framework.
17,142 stars 1,469 forkslast push 2024-07-22GoBSD-3-Clause
Aussi dans: #3 Go (Golang) HTTP routers
-
9
GoFrame
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
13,316 stars 1,734 forkslast push 2026-11-25GoMIT
-
10
Revel
High-productivity web framework for the Go language.
13,209 stars 1,347 forkslast push 2023-10-28GoMIT
-
11
Hertz
A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.
7,413 stars 651 forkslast push 2026-10-20GoApache-2.0
-
12
Goa
Goa provides a holistic approach for developing remote APIs and microservices in Go.
6,123 stars 584 forkslast push 2026-11-24GoMIT
-
13
goravel
A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features.
4,917 stars 279 forkslast push 2026-11-13GoMIT
-
14
Huma
Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.
4,562 stars 303 forkslast push 2026-11-21GoMIT
-
15
Goyave
Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.
1,786 stars 84 forkslast push 2026-11-05GoMIT
-
16
Fuego
The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code.
1,779 stars 129 forkslast push 2026-11-24GoMIT
-
17
gocraft/web
Mux and middleware package in Go.
1,522 stars 117 forkslast push 2020-10-01GoMIT
Aussi dans: #4 Go (Golang) HTTP routers
-
18
Atreugo
High performance and extensible micro web framework with zero memory allocations in hot paths.
1,301 stars 77 forkslast push 2026-10-20GoApache-2.0
-
19
Bone
Lightning Fast HTTP Multiplexer.
1,280 stars 100 forkslast push 2019-05-06GoMIT
Aussi dans: #5 Go (Golang) HTTP routers
-
20
Goji
Goji is a minimalistic and flexible HTTP request multiplexer with support for.
973 stars 66 forkslast push 2022-07-26GoMIT
Aussi dans: #6 Go (Golang) HTTP routers
Comparer côte à côte
| Licence | MIT | MIT | MIT |
|---|---|---|---|
| What it does | HTTP web framework with a Martini-like API | Express-inspired web framework built on Fasthttp | Lightweight, composable HTTP router |
| Go versions | Go 1.26 or later per README; pkg.go.dev says 1.25 | Go 1.26 or higher required (v3 docs) | – |
| Middleware | Extensible middleware system with built-in recovery | Built-in middleware, integrations, storage drivers and template engines | Uses standard net/http middleware handlers; optional middleware package |
| Performance notes | Zero-allocation router; README claims up to 40x faster | Built on fasthttp; designed for zero memory allocations | Core router under about 1000 lines; no external dependencies |
| Best for | REST APIs, web applications, microservices | – | – |
| net/http compatible | – | – | Fully compatible with net/http |
Références
- avelino/awesome-go: Web Frameworks and Routers, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-25 12:00 UTC.
- avelino/awesome-go (Web Frameworks), GitHub community list, 69 tools with a public repository.
- Gin: licence, github.com, checked 2026-11-18.
- Gin: what it does, github.com, checked 2026-11-18.
- Fiber: licence, github.com, checked 2026-11-18.
- Fiber: what it does, pkg.go.dev, checked 2026-11-18.
- Fiber: go versions, docs.gofiber.io, checked 2026-11-18.
- chi: licence, github.com, checked 2026-11-18.
- chi: what it does, pkg.go.dev, checked 2026-11-18.
- chi: net/http compatible, github.com, checked 2026-11-18.