Merge pull request #275 from kanerogers/patch-1

Teeny tiny typo fix!
This commit is contained in:
Manu Mtz.-Almeida 2015-05-06 18:20:26 +02:00
commit 7cd2f2694d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func main() {
c.String(http.StatusUnauthorized, "not authorized") c.String(http.StatusUnauthorized, "not authorized")
}) })
router.PUT("/error", func(c *gin.Context) { router.PUT("/error", func(c *gin.Context) {
c.String(http.StatusInternalServerError, "and error happened :(") c.String(http.StatusInternalServerError, "an error happened :(")
}) })
router.Run(":8080") router.Run(":8080")
} }