summaryrefslogtreecommitdiff
path: root/router.go
AgeCommit message (Collapse)Author
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-03doc: write doc comments for RouterEltrac
2025-11-28feat(router, context)!: support query string also move path split logic toEltrac
parser.go
2025-11-27refactor: move type definitions to types.go also, rename Api to Engine.Eltrac
2025-11-27refactor: move ServeHTTP impl to api.go router.go should just handle routes andEltrac
find the right handler, while api.go (the engine) is the one who should serve.
2025-11-27fix(router): `/path` and `/path/` were not the same routeEltrac
2025-11-27style: run gofmtEltrac
2025-11-27feat: get router working properly and implement basic methodsEltrac
2025-11-26feat: implement minimal routerEltrac
2025-11-26chore: set up essential archetectureEltrac