Sfoglia il codice sorgente

Coherent example code in README

Manu Mtz.-Almeida 10 anni fa
parent
commit
3e56f79fba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      README.md

+ 1 - 1
README.md

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