Gin

A popular, fast HTTP web framework for Go with a Martini-like API and radix-tree routing.

Gin offers routing, middleware, JSON binding and validation on top of Go's net/http with very low overhead. It is a common choice for REST APIs and microservices written in Go. Its API is simple, and a large set of community middleware is available.

Type
Framework
Category
Backend
Maintainer
gin-gonic community
First released
2014
License
Open source (MIT)
Pricing
Open source
Level
Beginner
Technologies
go
GitHub stars
89,716
Latest release
[object Object]
Last verified
26 Nov 2026

What Gin is used for

  • REST APIs
  • Microservices

Strengths

  • High performance
  • Simple, familiar API
  • Built-in binding and validation

Limitations

  • Custom context type couples handlers to Gin
  • Go's standard library router now covers many basic needs

Gin alternatives

How it relates to other tools

  • Gin built on Go
  • Gin works with GORM

Built with the same technologies

Official links

Sources

Explore