Skip to content

Commit

Permalink
docs: fix typo in Gin Quick Start (#3997)
Browse files Browse the repository at this point in the history
  • Loading branch information
demouth committed Jun 15, 2024
1 parent 64ead9e commit 9c081de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c081de

Please sign in to comment.