Skip to content

Commit

Permalink
Fixed incorrect comment about routing (#887)
Browse files Browse the repository at this point in the history
The comment was meant to demonstrate how non-wildcard routes can match
wilecard routes, but there was likely a typo that made it incorrect.
  • Loading branch information
jtams authored Sep 18, 2024
1 parent cbaac31 commit df0303d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chi.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
// "/user/{name}" matches "/user/jsmith" but not "/user/jsmith/info" or "/user/jsmith/"
// "/user/{name}/info" matches "/user/jsmith/info"
// "/page/*" matches "/page/intro/latest"
// "/page/{other}/index" also matches "/page/intro/latest"
// "/page/{other}/latest" also matches "/page/intro/latest"
// "/date/{yyyy:\\d\\d\\d\\d}/{mm:\\d\\d}/{dd:\\d\\d}" matches "/date/2017/04/01"
package chi

Expand Down

0 comments on commit df0303d

Please sign in to comment.