From 805e5729e1cedb88b6282b2d4bad3d2cef4006e2 Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 4 Oct 2024 11:21:15 -0500 Subject: [PATCH] build fix --- framework/h/app.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/h/app.go b/framework/h/app.go index 51547cf..e8c6f5e 100644 --- a/framework/h/app.go +++ b/framework/h/app.go @@ -29,6 +29,10 @@ type RequestContext struct { kv map[string]interface{} } +func (c *RequestContext) FormValue(key string) string { + return c.Request.FormValue(key) +} + func (c *RequestContext) QueryParam(key string) string { return c.Request.URL.Query().Get(key) }