docs: added comment in doc.go (#4274)

This commit is contained in:
諏訪原慶斗 2025-07-13 10:43:32 +09:00 committed by GitHub
parent 545fd74379
commit bdc1ad7987
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

16
doc.go
View File

@ -2,5 +2,21 @@
Package gin implements a HTTP web framework called gin.
See https://gin-gonic.com/ for more information about gin.
Example:
package main
import "github.com/gin-gonic/gin"
func main() {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "pong",
})
})
r.Run() // listen and serve on 0.0.0.0:8080
}
*/
package gin // import "github.com/gin-gonic/gin"