Web Frameworks

97 projects in 2 subcategories

This category holds Go web frameworks along with two subcategories, Routers and Middlewares. Frameworks range from thin layers over net/http that add routing, binding and rendering, to full application stacks with ORM, configuration and code generation. Since Go 1.22, the standard net/http ServeMux matches methods and path wildcards such as "GET /items/{id}", so many small services no longer need a third-party router at all.

Gin is the most widely used framework, with a radix-tree router, JSON binding and validation through go-playground/validator. Echo offers a similar feature set with a slightly different API. Fiber follows Express.js conventions and runs on fasthttp, which means its handlers are not standard net/http handlers. Beego and GoFrame are full-stack frameworks with ORM, caching and tooling included. CloudWeGo's Hertz targets high-throughput microservices, GoFr is an opinionated microservice framework, and Goa and Huma generate OpenAPI documentation from Go code. Revel has been quiet since 2023.

Choose by how much you want decided for you. For APIs that should stay close to the standard library, use ServeMux or chi with standard middleware. Gin or Echo add binding, validation and a large middleware ecosystem. Pick Huma or Goa when an accurate OpenAPI spec matters, and a full-stack framework only if you want its conventions across the whole application.

Subcategories

More Web Frameworks

Ginby gin-gonic

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 productivity.

github.com/gin-gonic/ginGo 1.26+ 15 dependenciesv1.12.0updated 23d ago

89.5k

Fiberby gofiber

An Express.js inspired web framework build on Fasthttp.

github.com/gofiber/fiber/v3Go 1.26+ 14 dependenciesv3.6.1updated today

40.2k

Echoby labstack

High performance, minimalist Go web framework.

github.com/labstack/echo/v5Go 1.25+ 3 dependenciesv5.4.4updated 3d ago

32.8k

Beego

Beego is an open-source, high-performance web framework for the Go programming language.

github.com/beego/beego/v2Go 1.24+ 38 dependenciesv2.3.10updated 28d ago

32.4k

GoFrby gofr-dev

Gofr is an opinionated microservice development framework.

gofr.devGo 1.26+ 49 dependenciesv1.63.0updated today

20.8k

GoFrameby gogf

GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.

github.com/gogf/gf/v2Go 1.23+ 15 dependenciesv2.10.4updated 3d ago

13.3k

Revel

High-productivity web framework for the Go language.

github.com/revel/revelGo 1.17+ 15 dependenciesv1.1.0updated 3y ago

13.2k

Hertzby cloudwego

A high-performance and strong-extensibility Go HTTP framework that helps developers build microservices.

github.com/cloudwego/hertzGo 1.20+ 10 dependenciesv0.10.6updated 13d ago

7.4k

Goaby goadesign

Goa provides a holistic approach for developing remote APIs and microservices in Go.

goa.design/goa/v3Go 1.27+ 17 dependenciesv3.35.0updated today

6.1k

goravel

A Laravel-inspired web framework with ORM, authentication, queue, task scheduling, and more built-in features.

Go 1.25+ 5 dependenciesv1.18.0updated 4mo ago

4.9k

Humaby danielgtaylor

Framework for modern REST/GraphQL APIs with built-in OpenAPI 3, generated documentation, and a CLI.

github.com/danielgtaylor/huma/v2Go 1.25+ 16 dependenciesv2.40.0updated 5d ago

4.5k

shadcn-templby axadrn

Unofficial shadcn/ui port for Go and templ: accessible UI components with CLI and registry.

github.com/axadrn/shadcn-templ/v2Go 1.26+ 10 dependenciesv2.0.0updated 3d ago

1.8k

Goyaveby go-goyave

Feature-complete REST API framework aimed at clean code and fast development, with powerful built-in functionalities.

goyave.dev/goyave/v5Go 1.26+ 17 dependenciesv5.12.7updated 3d ago

1.8k

Fuegoby go-fuego

The framework for busy Go developers! Web framework generating OpenAPI 3 spec from source code.

github.com/go-fuego/fuegoGo 1.26+ 8 dependenciesv0.18.0updated today

1.8k

Atreugoby savsgio

High performance and extensible micro web framework with zero memory allocations in hot paths.

github.com/savsgio/atreugo/v11Go 1.21+ 5 dependenciesv11.13.2updated 13d ago

1.3k

Yokaiby ankorstore

Simple, modular, and observable Go framework for backend applications.

fxsql/v1.5.1updated 12d ago

842

iWFby indeedeng

IWF is an all-in-one platform for developing long-running business processes. It offers a convenient abstraction for utilizing databases, ElasticSearch, message queues, durable timers, and more, with a clean, simple, and user-friendly interface.

github.com/indeedeng/iwfGo 1.24+ 23 dependenciesv1.20.0updated 2mo ago

663

Flamingo Commerceby i-love-flamingo

Providing e-commerce features using clean architecture like DDD and ports and adapters, that you can use to build flexible e-commerce applications.

flamingo.me/flamingo-commerce/v3Go 1.26+ 25 dependenciesv3.14.0updated today

598

Fastschema

A flexible Go web framework and Headless CMS.

github.com/fastschema/fastschemaGo 1.24+ 36 dependenciesv0.15.1updated 3mo ago

574

rk-bootby rookie-ninja

A bootstrapper library for building enterprise go microservice with Gin and gRPC quickly and easily.

github.com/rookie-ninja/rk-boot/v2Go 1.18+ 3 dependenciesv2.2.22updated 2y ago

567

Flamingoby i-love-flamingo

Framework for pluggable web projects. Including a concept for modules and offering features for DI, Configareas, i18n, template engines, graphql, observability, security, events, routing & reverse routing etc.

flamingo.me/flamingo/v3Go 1.26+ 29 dependenciesv3.17.5updated 5d ago

561

uAdmin

Fully featured web framework for Golang, inspired by Django.

github.com/uadmin/uadminGo 1.17+ 13 dependenciesv0.10.2updated 3mo ago

356

WebGoby naughtygopher

A micro-framework to build web apps with handler chaining, middleware, and context injection. With standard library-compliant HTTP handlers (i.e., http.HandlerFunc).

github.com/naughtygopher/webgo/v7Go 1.22+ No dependencies v7.2.0updated 3d ago

309

Ginrpcby xxjwxc

Gin parameter automatic binding tool,gin rpc tools.

github.com/xxjwxc/ginrpcGo 1.20+ 6 dependenciesupdated 11mo ago

304

Andurelby mbvlabs

Rails-inspired full-stack Go web framework with scaffolding, database tooling, and server-rendered or Inertia frontends.

github.com/mbvlabs/andurel/v2Go 1.27+ 12 dependenciesv1.5.5updated today

227

hibootby hidevopsio

Hiboot is a high performance web application framework with auto configuration and dependency injection support.

github.com/hidevopsio/hibootGo 1.24+ 25 dependenciesv1.8.4updated 4mo ago

180

Goneby gone-io

A lightweight dependency injection and web framework inspired by Spring.

github.com/gone-io/gone/v2Go 1.24+ 1 dependencyv2.2.6updated 10mo ago

131

patronby beatlabs

Patron is a microservice framework following best cloud practices with a focus on productivity.

github.com/beatlabs/patronGo 1.27+ 36 dependenciesv0.74.0updated 1d ago

127

Microserviceby claygod

The framework for the creation of microservices, written in Golang.

github.com/claygod/microserviceGo 1.25+ 9 dependenciesv2.3.6updated 2mo ago

123

doorsby doors-dev

Server-driven framework for building stateful, reactive web applications entirely in Go.

github.com/doors-dev/doorsGo 1.25+ 8 dependenciesv0.18.0updated 1d ago

120

Barfby opensaucerer

Basically, A Remarkable Framework for building JSON-based web APIs. It is entirely unobtrusive and re-invents no wheel. It is crafted such that getting started is easy and quick while being flexible enough for more complex use cases.

github.com/opensaucerer/barfGo 1.18+ No dependencies v1.1.1updated 2y ago

103

ruxby gookit

Simple and fast web framework for build golang HTTP applications.

github.com/gookit/rux/v2Go 1.23+ 2 dependenciesv2.1.4updated 3d ago

101

Xunby yaitoo

Web framework built on Go's built-in html/template and net/http package’s router. It is designed to be lightweight, fast, and easy to use while providing a simple and intuitive API for building web applications with advanced features such as middleware, routing, and template rendering.

github.com/yaitoo/xunGo 1.26+ 9 dependenciesv1.5.1updated today

93

Donby abemedia

A highly performant and simple to use API framework.

github.com/abemedia/go-donGo 1.25+ 8 dependenciesv0.2.2updated 1d ago

59

httpsuiteby rluders

HTTP request parsing and RFC 9457 problem responses for Go, with a stdlib-only core and optional validation.

github.com/rluders/httpsuite/v3Go 1.23+ No dependencies v3.1.0updated 10d ago

43

Ronykitby clubpay

Web framework with pluggable architecture and very performant.

ronyup/v0.6.12updated 1d ago

38

go-api-bootby SaiNageswarS

A gRpc-first micro-service framework. Features include ODM support for Mongo, cloud resource support (AWS/Azure/Google), and a fluent dependency injection which is customized for gRpc. Additionally, grpc-web is supported directly, enabling browser access to all gRpc APIs without a proxy.

github.com/SaiNageswarS/go-api-bootGo 1.25+ 29 dependenciesv1.0.44updated 6mo ago

35

Litby jvcoutinho

Highly performant declarative web framework for Golang, aiming for simplicity and quality of life.

github.com/jvcoutinho/litGo 1.21+ 4 dependenciesv0.2.1updated 2y ago

28

Goshtosoby araihu

Server-rendered UI components for Go applications, built with templ, Tailwind CSS, HTMX, and Alpine.js.

github.com/araihu/goshtosoGo 1.27+ 12 dependenciesv0.5.0updated today

25

NotNetby nottechdm

A lightweight Go framework for building fast, ergonomic RESTful APIs with middleware and flexible routing.

github.com/nottechdm/notnetGo 1.25+ No dependencies v1.0.4updated 2mo ago

8

togoby togo-framework

Full-stack framework that ships your Go backend and React frontend as a single binary; a Laravel-artisan-grade CLI.

github.com/togo-framework/togoGo 1.26+ 1 dependencyv0.21.1updated 18d ago

6

aichteeteapeeby psyb0t

Batteries-included HTTP server library with a router, middleware stack, WebSocket hubs, file uploads, and OpenAPI validation.

github.com/psyb0t/aichteeteapeeGo 1.26+ 9 dependenciesv1.16.0updated 14d ago

1
C

Confetti Framework

Confetti is a Go web application framework with an expressive, elegant syntax. Confetti combines the elegance of Laravel and the simplicity of Go.

confetti-framework.github.io

P

Pnutmux

Pnutmux is a powerful Go web framework that uses regex for matching and handling HTTP requests. It offers features such as CORS handling, structured logging, URL parameters extraction, middlewares, and concurrency limiting.

gitlab.com

Esc

Type to search every entry. ↑↓ to move, Enter to open.