Closed igophper closed 1 week ago
Please briefly describe what this PR does. gin.Default() to gin.New() because gin.Default() already includes the Logger and Recover middleware.
gin.Default()
r.Use(gin.Logger()) r.Use(gin.Recovery())
Please reference any open issues this PR relates to in here. If it closes an issue, type closes #[ISSUE_NUMBER].
closes #[ISSUE_NUMBER]
Provide any screenshots you may find relevant to facilitate us understanding your PR.
What this Pull Request (PR) does
Please briefly describe what this PR does. gin.Default() to gin.New() because
gin.Default()
already includes the Logger and Recover middleware.Related issues
Please reference any open issues this PR relates to in here. If it closes an issue, type
closes #[ISSUE_NUMBER]
.Screenshots
Provide any screenshots you may find relevant to facilitate us understanding your PR.