summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-11-28 23:13:23 +0800
committerEltrac <hi@guhub.cn>2025-11-28 23:13:23 +0800
commit3f53ba50f2e562b5a2bc97442266b5e7acd585eb (patch)
treeab29b0db71bb1661af0502b3b3442fb0f84a0590 /types.go
parentaccb1bae86a3547f16dcc448f92ec73a493dfd85 (diff)
feat(router, context)!: support query string also move path split logic to
parser.go
Diffstat (limited to 'types.go')
-rw-r--r--types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/types.go b/types.go
index e785f4c..45bdf2c 100644
--- a/types.go
+++ b/types.go
@@ -6,6 +6,7 @@ type Context struct {
W http.ResponseWriter
R *http.Request
Params map[string]string
+ Querys map[string]string
}
type Handler func(c *Context)