Fixed typo

This commit is contained in:
Remco 2014-12-02 15:39:24 +01:00
parent b8ab9554dc
commit af9a6bcb4d

View File

@ -284,7 +284,7 @@ func main() {
func main() { func main() {
r := gin.Default() r := gin.Default()
// gin.H is a shortcup for map[string]interface{} // gin.H is a shortcut for map[string]interface{}
r.GET("/someJSON", func(c *gin.Context) { r.GET("/someJSON", func(c *gin.Context) {
c.JSON(200, gin.H{"message": "hey", "status": 200}) c.JSON(200, gin.H{"message": "hey", "status": 200})
}) })