#4747th of 110 in Backend and cloud templates
gin
Go HTTP web framework with a zero-allocation router and middleware
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 89.6k
- License
- MIT
- Last commit
- Oct 2026
- Last release
- Feb 2026
- Language
- Go
87,691 on 2 May 202689,594 on 21 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Gin is a Go HTTP framework built on a customized httprouter. It provides route grouping, middleware, JSON binding and validation, panic recovery, and rendering for JSON, XML and HTML templates. It is a general-purpose library for REST APIs and microservices, not AI-specific, but it can serve as the base for a backend that exposes models or agents over HTTP.
Who it is for: Go developers building REST APIs and backend services
Strengths
- Router reports 0 B/op and 0 allocs/op in the README's GitHub API benchmark
- Built-in recovery middleware keeps handler panics from crashing the server
- gin-contrib middleware covers JWT, sessions, CORS, rate limiting and tracing
- Docs in 11 languages, plus a go.dev tutorial and a runnable examples repository
Weaknesses
- Requires Go 1.26 or newer
- No AI-specific features such as model clients, streaming helpers or agent tooling
- Aero and HttpRouter benchmark faster than Gin in the README's own table
- Library only: auth and other extras come from separate contrib middleware
What it needs
- Go
- Needs Go 1.26+
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backend and cloud templates
See all 110| Rank | Project | Score |
|---|---|---|
| #45 | middyMiddleware engine for AWS Lambda handlers on Node.js | 71 out of 100 |
| #46 | ultimoRust web framework on Hyper and Tokio that generates TypeScript clients | 71 out of 100 |
| #48 | microservices-demoEleven-service e-commerce demo for Kubernetes, with gRPC between services | 70 out of 100 |
| #49 | agent-service-toolkitLangGraph agent served by FastAPI with a Streamlit chat front end | 70 out of 100 |
| #50 | hyperfCoroutine PHP framework on Swoole or Swow for microservices and web servers | 69 out of 100 |