Merge pull request #1 from msemenistyi/master

update Readme.md. Add code to String method
This commit is contained in:
Manu Mtz.-Almeida 2014-06-30 23:43:21 +02:00
commit 3253ef5b75

View File

@ -24,7 +24,7 @@ import "github.com/gin-gonic/gin"
func main() { func main() {
r := gin.Default() r := gin.Default()
r.GET("ping", func(c *gin.Context){ r.GET("ping", func(c *gin.Context){
c.String("pong") c.String(200, "pong")
}) })
// Listen and server on 0.0.0.0:8080 // Listen and server on 0.0.0.0:8080