summaryrefslogtreecommitdiff
path: root/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'types.go')
-rw-r--r--types.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/types.go b/types.go
index df3e496..36e4f13 100644
--- a/types.go
+++ b/types.go
@@ -1,12 +1,15 @@
package growel
-import "net/http"
+import (
+ "net/http"
+ "net/url"
+)
type Context struct {
W http.ResponseWriter
R *http.Request
Params map[string]string
- Querys map[string]string
+ Querys url.Values
}
type Handler func(c *Context)