Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf5b09c

Browse files
committed
Update README.md
add code to c.String
1 parent 542be2f commit bf5b09c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ginS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
func main() {
14-
ginS.GET("/", func(c *gin.Context) { c.String("Hello World") })
14+
ginS.GET("/", func(c *gin.Context) { c.String(200, "Hello World") })
1515
ginS.Run()
1616
}
1717
```

0 commit comments

Comments
 (0)