You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//go:generate ifacemaker --file ctx.go --struct DefaultCtx --iface Ctx --pkg fiber --output ctx_interface_gen.go --not-exported true --iface-comment "Ctx represents the Context which hold the HTTP request and response.\nIt has methods for the request query string, parameters, body, HTTP headers and so on."
50
+
//go:generate ifacemaker --file ctx.go --struct DefaultCtx --iface Ctx --pkg fiber --output ctx_interface.go --not-exported true --iface-comment "Ctx represents the Context which hold the HTTP request and response.\nIt has methods for the request query string, parameters, body, HTTP headers and so on."
51
+
//go:generate go run ctx_interface_gen.go
51
52
typeDefaultCtxstruct {
52
-
app*App// Reference to *App
53
+
app*App[Ctx[any]]// Reference to *App
53
54
route*Route// Reference to *Route
54
55
fasthttp*fasthttp.RequestCtx// Reference to *fasthttp.RequestCtx
55
56
bind*Bind// Default bind reference
@@ -197,7 +198,7 @@ type Views interface {
197
198
198
199
// ResFmt associates a Content Type to a fiber.Handler for c.Format
0 commit comments