build fix
This commit is contained in:
parent
a7e1311ad5
commit
805e5729e1
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@ type RequestContext struct {
|
||||||
kv map[string]interface{}
|
kv map[string]interface{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *RequestContext) FormValue(key string) string {
|
||||||
|
return c.Request.FormValue(key)
|
||||||
|
}
|
||||||
|
|
||||||
func (c *RequestContext) QueryParam(key string) string {
|
func (c *RequestContext) QueryParam(key string) string {
|
||||||
return c.Request.URL.Query().Get(key)
|
return c.Request.URL.Query().Get(key)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue