Skip to main content

Go gin

gin is the most widely-used go web Framework

ginServer

router := gin.Default()
router.GET("/ping", func(c *gin.Context) {
    c.JSON(200, gin.H{
        "message": "pong",
    })
})
router.Run()
Last modified on April 17, 2026