Open-source Go web frameworks
12 Go web frameworks whose code is public under an OSI-approved license, rated for privacy with evidence. Picks first, then by score.
Beego Grade B
Full-stack web framework for Go with an MVC structure, ORM, caching, logging and the bee command-line tool for scaffolding.
Apache 2.0 licensed. Source code
Buffalo Grade B
Web development toolkit for Go that generates projects with routing, templates, the Pop database layer, migrations and a front-end asset pipeline.
MIT-licensed. Source code
Chi Grade B
Lightweight, composable router for building HTTP services in Go, built on the standard net/http package.
MIT-licensed. Source code
Fiber Grade B
Express-inspired web framework for Go built on the Fasthttp HTTP engine, with routing, middleware and templating.
MIT-licensed. Source code
Gin Grade B
HTTP web framework for Go with a radix-tree router, middleware support, request binding and validation.
MIT-licensed. Source code
Gorilla Mux Grade B
HTTP request router for Go from the Gorilla web toolkit that matches routes by path, host, method, headers and query values, built on net/http.
BSD 3-Clause licensed. Source code
Iris Grade B
Web framework for Go with routing, an MVC layer, sessions, WebSockets and view templating.
BSD 3-Clause licensed. Source code
Templ Grade B
HTML templating language for Go that compiles components into type-safe Go code, with a command-line generator and a language server for editors.
MIT-licensed. Source code
Echo Grade D
Minimalist HTTP web framework for Go with an optimized router, middleware, data binding and rendering.
MIT-licensed. Source code
Hertz Grade D
HTTP framework for Go from ByteDance's CloudWeGo project, designed for high-performance microservices, with the hz code generator.
Apache 2.0 licensed. Source code
Revel Grade D
Full-stack web framework for Go with routing, templates, hot code reload and a built-in test runner. No longer maintained.
MIT-licensed. Source code
Encore Grade D
Backend framework for Go and TypeScript that declares APIs and infrastructure such as databases, queues and cron jobs in code, with a local development dashboard.
Mozilla Public License 2.0. Source code
Compare all 12 Go web frameworks, open source or not.