doc.go
This file
Path
doc.go
22 lines · 414 bytes · Go
Last changed by
docs: added comment in doc.go (#4274)諏訪原慶斗before adoptionbdc1ad7
History of this fileTake it
The walk stopped after 200 commits: lines older than cf32d2d point at it.
chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d
lines 1–4why, one step back1/*2Package gin implements a HTTP web framework called gin.34See https://gin-gonic.com/ for more information about gin.docs: added comment in doc.go (#4274)諏訪原慶斗before adoptionbdc1ad7
lines 5–20why, one step back56Example:78 package main910 import "github.com/gin-gonic/gin"1112 func main() {13 r := gin.Default()14 r.GET("/ping", func(c *gin.Context) {15 c.JSON(200, gin.H{16 "message": "pong",17 })18 })19 r.Run() // listen and serve on 0.0.0.0:808020 }chore(deps): bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.4 (#4212)dependabot[bot]before adoptioncf32d2d
lines 21–22why, one step back21*/22package gin // import "github.com/gin-gonic/gin"