Skip to content

Commit

Permalink
added debug field in the Request
Browse files Browse the repository at this point in the history
  • Loading branch information
gregory committed Sep 30, 2022
1 parent f17ab9b commit ccf2433
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions evo.context.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/CloudyKit/jet"
"github.com/getevo/evo/errors"
"github.com/getevo/evo/lib/jwt"
"github.com/getevo/evo/lib/log"
"github.com/gofiber/fiber/v2"
"net/url"
"reflect"
"strings"
"time"

"github.com/CloudyKit/jet"
e "github.com/getevo/evo/errors"
"github.com/getevo/evo/lib/jwt"
"github.com/getevo/evo/lib/log"
"github.com/gofiber/fiber/v2"
)

type Request struct {
Expand All @@ -24,6 +25,7 @@ type Request struct {
Response Response
CacheKey string
CacheDuration time.Duration
Debug bool
flashes []flash
}
type flash struct {
Expand Down

0 comments on commit ccf2433

Please sign in to comment.