mirror of https://github.com/gin-gonic/gin.git
Teeny tiny typo fix!
This commit is contained in:
parent
ac0ad2fed8
commit
d3302e76c2
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue