Skip to content

Commit b67127c

Browse files
CopilotReneWerner87
andcommitted
Add detailed documentation for ctx field
Co-authored-by: ReneWerner87 <7063188+ReneWerner87@users.noreply.github.com>
1 parent c689dbc commit b67127c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ctx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ type DefaultCtx struct {
5656
fasthttp *fasthttp.RequestCtx // Reference to *fasthttp.RequestCtx
5757
bind *Bind // Default bind reference
5858
redirect *Redirect // Default redirect reference
59-
ctx CustomCtx // Reference to the actual context (self or custom wrapper)
59+
ctx CustomCtx // Reference to the actual context (self when DefaultCtx is used directly, or the custom wrapper when embedded)
6060
values [maxParams]string // Route parameter values
6161
viewBindMap sync.Map // Default view map to bind template engine
6262
baseURI string // HTTP base uri

0 commit comments

Comments
 (0)