import oopsrecoverygin "github.com/samber/oops/recovery/gin"
func main() {
router = gin.New()
router.Use(gin.Logger())
router.Use(oopsrecoverygin.GinOopsRecovery())
// ...
}
gin
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||