OSS Tanbou

Gin — build lightweight REST APIs and web services in Go

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
89,244
Primary language
Go
License
MIT
Repository last updated
Sep 19, 2026

Overview

Gin is a Go HTTP web framework that bundles routing, middleware, request binding/validation, rendering, and panic recovery for building REST APIs and microservices with less boilerplate.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Compose HTTP APIs from routers and middleware

Path parameters, route groups, and middleware chains support authentication, CORS, logging, and other request-processing concerns.

Sources: [2][3]

Standardize binding, validation, rendering, and recovery

Gin provides request binding, validation, JSON/XML/HTML rendering, and panic recovery for common server patterns.

Sources: [2][3]

For Go APIs and microservices that need more structure than raw net/http

It fits teams wanting a relatively thin framework layer plus a mature middleware ecosystem.

Sources: [2]

Measure performance with your real workload rather than headline benchmark ratios

Benchmark comparisons vary by framework versions, route patterns, middleware, and payload characteristics.

Sources: [2]

Official sources

  1. [1]gin-gonic/gin repository(2026-09-21)
  2. [2]Gin README(2026-09-21)
  3. [3]Gin documentation(2026-09-21)
  4. [4]Gin MIT license(2026-09-21)
Supplemental curator note

Gin provides routing and middleware conveniences over Go's HTTP stack. Performance benchmark ratios depend heavily on versions and workloads, so selection should be based on representative routing, middleware, and payload tests rather than headline multipliers alone.

Try it in 3 steps

  1. 1

    Get the source

    git clone --depth 1 https://github.com/gin-gonic/gin.git
  2. 2

    Enter the repository

    cd gin
  3. 3

    Check the official steps

    Continue with the commands in the README Installation, Quick Start, or Getting Started section.

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Check the official README

Growth

Growth trends · Last 30 days

89,244 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
11
Open PRs
158

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • server
  • middleware
  • framework
  • go
  • router
  • performance
  • gin
Stars
89,244
Forks
8,703
Watchers
1,364
Open issues
601
Contributors
442
Primary language
Go
License
MIT
Repository last updated
Sep 19, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.