Update README.md

add code  to c.String
This commit is contained in:
betahu 2016-05-17 15:14:47 +08:00
parent 542be2fe77
commit bf5b09cc57

View File

@ -11,7 +11,7 @@ import (
) )
func main() { 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() ginS.Run()
} }
``` ```