Coherent example code in README

This commit is contained in:
Manu Mtz.-Almeida 2016-01-30 01:32:46 +01:00
parent 3d002e3823
commit 3e56f79fba

View File

@ -24,7 +24,7 @@ func main() {
r := gin.Default()
r.GET("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"message": "hello world",
"message": "pong",
})
})
r.Run() // listen and server on 0.0.0.0:8080