docs: fix typo in Gin Quick Start (#3997)

This commit is contained in:
demouth 2024-06-16 01:28:08 +09:00 committed by GitHub
parent 64ead9e6bd
commit 9c081de9cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -524,7 +524,7 @@ func main() {
return c.Writer.Status() < http.StatusInternalServerError
}
engine.Use(gin.LoggerWithConfig(loggerConfig))
router.Use(gin.LoggerWithConfig(loggerConfig))
router.Use(gin.Recovery())
// skipped