AltHub

gin-gonic/gin Alternatives

Go web framework / HTTP routing

Gin is a high-performance HTTP web framework for Go, offering a router, middleware support, and a context-based API for building REST APIs, web apps, and microservices.

89.1kGoMITactive · last push 2mo agoGitHub

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

go-chi/chiGitHub

Lighter, stdlib-centric router with composable middleware; choose when you prefer using net/http handlers directly.

lightweight, idiomatic and composable router for building Go HTTP services

22.7k
Go
MIT
active1mo ago
labstack/echoGitHub

High-performance Go web framework with a different API; choose if you prefer Echo's design and feature set.

High performance, minimalist Go web framework

32.7k
Go
MIT
active1mo ago
go-kratos/kratosGitHub

Full microservices framework with service discovery and RPC; choose for large distributed systems with more infrastructure needs.

Your ultimate Go microservices framework for the cloud-native era.

25.9k
Go
MIT
active2mo ago
goravel/goravelGitHub

Batteries-included full-stack Go web framework with Laravel-like structure; choose for projects wanting more built-in functionality.

The full-featured Golang Development Framework skeleton

4.8k
Go
MIT
active3mo ago
gogf/gfGitHub

Modular enterprise-oriented Go framework with many built-in components; choose if you need a comprehensive toolset.

A powerful framework for faster, easier, and more efficient project development.

13.2k
Go
MIT
active1mo ago
gofr-dev/gofrGitHub

Opinionated microservice framework with built-in DB and observability; choose for rapid microservice development.

An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.

21.0k
Go
Apache-2.0
active1mo ago
karldoenitz/TigoGitHub

Tornado-like Go web framework; choose if you prefer that API style.

Tigo is an HTTP web framework written in Go (Golang).It features a Tornado-like API with better performance. Tigo是一款用Go语言开发的web应用框架,API特性类似于Tornado并且拥有比Tornado更好的性能。

2.2k
Go
MIT
active4mo ago
go-kit/kitGitHub

Microservices toolkit focused on decoupled transports and hex architecture; suitable for complex service designs.

A standard library for microservices.

27.4k
Go
MIT
dormant2.2y ago
devfeel/dotwebGitHub

Simple and lightweight Go web micro framework; choose for small services with minimal dependencies.

Simple and easy go web micro framework

1.4k
Go
MIT
active3mo ago

Older generation, or narrower

An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.

gorilla/muxGitHub

Older, narrower HTTP router for net/http; use when you need a simple, widely-deployed router without framework features.

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

21.8k
Go
BSD-3-Clause
dormant2.1y ago
go-zoo/boneGitHub

Obsolete and unmaintained HTTP multiplexer; only for minimal legacy routing needs.

Lightning Fast HTTP Multiplexer

1.3k
Go
MIT
dormant7.4y ago

Listed as an alternative to

These projects were analysed and named gin among their alternatives. The relationship is not symmetric — how gin rates them is a separate judgement, made when gin is analysed in its own right.

labstack/echoGitHub

calls gin “choose when you want the de-facto standard Go web framework with the largest ecosystem and a Martini-like API, at the cost of some built-in conveniences that Echo includes.”

High performance, minimalist Go web framework

32.7kGoactive
cloudwego/hertzGitHub

calls gin “Use gin instead of Hertz if you need net/http compatibility and a large pool of community middleware.”

Go HTTP framework with high-performance and strong-extensibility for building micro-services.

7.3kGoactive
gofiber/fiberGitHub

calls gin “Choose Gin if you prefer an actively-maintained net/http-based framework with a different, widely-adopted API style.”

⚡️ Express inspired web framework written in Go

40.1kGoactive
go-chi/chiGitHub

calls gin “Choose when you want an all-in-one web framework with built-in binding, validation, and a large ecosystem, accepting a framework-specific context API.”

lightweight, idiomatic and composable router for building Go HTTP services

22.7kGoactive
gorilla/muxGitHub

calls gin “Full-featured Go web framework with routing, middleware, and rendering; use when you want a batteries-included framework rather than just a router.”

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

21.8kGodormant
julienschmidt/httprouterGitHub

calls gin “choose when you want a full Go web framework built around httprouter with middleware and context helpers.”

A high performance HTTP request router that scales well

17.1kGodormant
gogf/gfGitHub

calls gin “choose for a high-performance router and large middleware ecosystem while bringing your own ORM/config.”

A powerful framework for faster, easier, and more efficient project development.

13.2kGoactive
zeromicro/go-zeroGitHub

calls gin “Use Gin when you only need a high-performance HTTP router/web framework and not the full microservice stack.”

A cloud-native Go microservices framework with cli tool for productivity.

33.3kGoactive