From bf5b09cc57691acea7d91d78fa74a3ea9f7abe9b Mon Sep 17 00:00:00 2001 From: betahu Date: Tue, 17 May 2016 15:14:47 +0800 Subject: [PATCH] Update README.md add code to c.String --- ginS/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ginS/README.md b/ginS/README.md index c186b1f..ac563a2 100644 --- a/ginS/README.md +++ b/ginS/README.md @@ -11,7 +11,7 @@ import ( ) func main() { - ginS.GET("/", func(c *gin.Context) { c.String("Hello World") }) + ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") }) ginS.Run() } ```