Merge branch 'master' into chore/v1.3.0

This commit is contained in:
Javier Provecho Fernandez 2018-08-12 23:31:17 +02:00 committed by GitHub
commit ed9dd4240a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ func main() {
func main() {
router := gin.Default()
// This handler will match /user/john but will not match neither /user/ or /user
// This handler will match /user/john but will not match /user/ or /user
router.GET("/user/:name", func(c *gin.Context) {
name := c.Param("name")
c.String(http.StatusOK, "Hello %s", name)