From 939ab2e57d63d78555aa37628a94768ecc10f48f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 18 Apr 2021 19:31:40 +0200 Subject: [PATCH] fixup: expose api context fields --- api/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/context.go b/api/context.go index ba506d7..d8e390e 100644 --- a/api/context.go +++ b/api/context.go @@ -12,6 +12,6 @@ import ( // If required, set api.Ctx as the first argument of your handler; if you // don't need it, only use standard input arguments and it will be ignored type Ctx struct { - w http.ResponseWriter - r *http.Request + Res http.ResponseWriter + Req *http.Request }