summaryrefslogtreecommitdiff
path: root/engine.go
AgeCommit message (Collapse)Author
2025-12-03feat: provide basic data gettersEltrac
- 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
2025-12-03refactor: use vanilla URL.Query() instead of a custom parserEltrac
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`.
2025-12-03style: run gofmt and remove pointless commentsEltrac
2025-11-28feat(router, context)!: support query string also move path split logic toEltrac
parser.go
2025-11-27refactor: use standard Go testsEltrac