docs: remove double negative in README.md (#1480)

"not match neither" means that it will match.
This commit is contained in:
Alex 2018-08-12 22:54:22 +02:00 committed by Javier Provecho Fernandez
parent 6159213462
commit 8aef947f6e
1 changed files with 1 additions and 1 deletions

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)