Registry / web-framework / gin-gonic-gin-v1

gin-gonic-gin-v1

JSON →
library1.3.0gogounverified

Package gin implements a HTTP web framework called gin, featuring a martini-like API with much better performance.

go get gopkg.in/gin-gonic/gin.v1
INSTALL
IMPORT
SIG · GIN-GONIC-GIN-V1
G
gin-gonic-gin-v1
web-frameworkgov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gin
gopkg.in/gin-gonic/gin.v1

Create a simple HTTP server with Gin

package main import ( "net/http" "gopkg.in/gin-gonic/gin.v1" ) func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) { c.String(http.StatusOK, "pong") }) r.Run() }
Debug
Known issues
breakingVersion v1 is outdated; use gopkg.in/gin-gonic/gin.v1 for legacy code, but consider migrating to github.com/gin-gonic/gin for latest features.
fix
Update import to github.com/gin-gonic/gin and adjust code for API changes.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
gin-gonic-gin-v1 — go get gin-gonic-gin-v1 · libregistry