Skip to content

Commit 7ecb416

Browse files
committed
Debug
1 parent ccf2433 commit 7ecb416

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

evo.context.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ func Upgrade(ctx *fiber.Ctx) *Request {
9090
return &r
9191
}
9292

93+
func (r *Request) SetDebug(debug bool) {
94+
r.Debug = debug
95+
}
96+
9397
func (r *Request) Flash(params ...string) {
9498
if len(params) == 0 {
9599
return

0 commit comments

Comments
 (0)