Skip to content

Fixed incorrect comment about routing#887

Merged
VojtechVitek merged 1 commit into
go-chi:masterfrom
jtams:route-comment
Sep 18, 2024
Merged

Fixed incorrect comment about routing#887
VojtechVitek merged 1 commit into
go-chi:masterfrom
jtams:route-comment

Conversation

@jtams

@jtams jtams commented Dec 20, 2023

Copy link
Copy Markdown
Contributor

In the chi.go file there are examples of routing behaviors. One comment was meant to demonstrate how other routes can match wildcard routes, but there was a typo that made it incorrect:

// "/page/{other}/index" also matches "/page/intro/latest"

Resolves #879

The comment was meant to demonstrate how non-wildcard routes can match
wilecard routes, but there was likely a typo that made it incorrect.

@VojtechVitek VojtechVitek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect Route Matching Comment in chi.go

2 participants