Update README.md
add code to c.String
This commit is contained in:
parent
542be2fe77
commit
bf5b09cc57
@ -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()
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user