mirror of
https://github.com/gin-gonic/gin.git
synced 2025-06-24 12:48:27 +08:00
Fixed typo
This commit is contained in:
@ -284,7 +284,7 @@ func main() {
|
||||
func main() {
|
||||
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) {
|
||||
c.JSON(200, gin.H{"message": "hey", "status": 200})
|
||||
})
|
||||
|
Reference in New Issue
Block a user