github.com/gin-gonic/gin

Gin

Package gin implements a HTTP web framework called gin.

97

Decision Signals

Health score 97/100, confidence 100/100.

Excellent
Maintenance 95
Adoption 100
Security 92
Maturity 100
Developer DX 97
Confidence 100

Install

go get github.com/gin-gonic/gin

Package Data

updated May 31, 2026
Latest versionv1.12.0
Imported by183.2K packages
Stars88.6K
Forks8.6K
Last activity22 days ago
Latest releasev1.12.0 (3 months ago)
LicenseMIT
Known vuln records0

API Surface

363 symbols
SymbolKindSynopsis
Accounts Type type Accounts map[string]string
Context Type type Context struct{ ... }
Context.Abort Method func (c *Context) Abort()
Context.AbortWithError Method func (c *Context) AbortWithError(code int, err error) *Error
Context.AbortWithStatus Method func (c *Context) AbortWithStatus(code int)
Context.AbortWithStatusJSON Method func (c *Context) AbortWithStatusJSON(code int, jsonObj any)
Context.AbortWithStatusPureJSON Method func (c *Context) AbortWithStatusPureJSON(code int, jsonObj any)
Context.Accepted Field Accepted []string
Context.AddParam Method func (c *Context) AddParam(key, value string)
Context.AsciiJSON Method func (c *Context) AsciiJSON(code int, obj any)
Context.BSON Method func (c *Context) BSON(code int, obj any)
Context.Bind Method func (c *Context) Bind(obj any) error

Similar Packages

Go Web Frameworks

#1 GoFrame

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

Go Web Frameworks 13.2K stars 14 imported-by 100% confidence
96

#2 GoFr

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

Go Web Frameworks 21.4K stars 0 imported-by 45% confidence
86

#3 v3

Package fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go.

Go Web Frameworks 0 stars 1.5K imported-by 75% confidence
77

#4 echo

Go Web Frameworks 0 stars 1.1K imported-by 75% confidence
74

#5 Learn Go with TDD

Learn Go with test-driven development

Go Web Frameworks 0 stars 0 imported-by 80% confidence
62