mirror of https://github.com/gin-gonic/gin.git
docs: fix typo in Gin Quick Start (#3997)
This commit is contained in:
parent
64ead9e6bd
commit
9c081de9cd
|
@ -524,7 +524,7 @@ func main() {
|
||||||
return c.Writer.Status() < http.StatusInternalServerError
|
return c.Writer.Status() < http.StatusInternalServerError
|
||||||
}
|
}
|
||||||
|
|
||||||
engine.Use(gin.LoggerWithConfig(loggerConfig))
|
router.Use(gin.LoggerWithConfig(loggerConfig))
|
||||||
router.Use(gin.Recovery())
|
router.Use(gin.Recovery())
|
||||||
|
|
||||||
// skipped
|
// skipped
|
||||||
|
|
Loading…
Reference in New Issue