Commit graph

3 commits

Author SHA1 Message Date
James Raspass
3b50c7cc35
Tidy build directives (#1113)
Remove the obsolete "// +build" form which hasn't been needed since Go
1.18, and remove the Go 1.23 build directives as that matches our
minimum version now.
2026-06-22 17:45:48 +02:00
吴杨帆
818fdcfc47
fix: set Request.Pattern from RoutePattern() (#1097)
Use the composed RoutePattern() value instead of the per-router
routePattern field so nested routes populate http.Request.Pattern
correctly on Go 1.23+.

Fixes #1089
2026-05-20 20:15:38 +02:00
Gusted
d12cc49622
feat(mux): support http.Request.Pattern in Go 1.23 (#986)
Similar to #901

Adds support to get the pattern that was used by Chi to match the route,
without needing to call the Chi context.
2025-08-26 13:16:42 +02:00