| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- c.Query(), from URL query string - c.PostFormValue(), from POST form -
c.FormValue(), from both URL query and POST form - c.BindJSON(), from request
body
|
|
|
|
|
|
refactor, fix: use vanilla `request.URL.Query()` instead of a custom parser
|
|
Since `parser.go` only exists for splitting paths and parsing query string at
the same time, it should be removed when parsing is no longer needed. Path
splitting is done by a helper function inside `router.go`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
parser.go
|
|
|
|
|
|
|
|
|
|
find the right handler, while api.go (the engine) is the one who should serve.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|