Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/chiPublic

Commitdf0303d

Browse files
authored
Fixed incorrect comment about routing (#887)
The comment was meant to demonstrate how non-wildcard routes can matchwilecard routes, but there was likely a typo that made it incorrect.
1 parentcbaac31 commitdf0303d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎chi.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
//"/user/{name}" matches "/user/jsmith" but not "/user/jsmith/info" or "/user/jsmith/"
5252
//"/user/{name}/info" matches "/user/jsmith/info"
5353
//"/page/*" matches "/page/intro/latest"
54-
//"/page/{other}/index" also matches "/page/intro/latest"
54+
//"/page/{other}/latest" also matches "/page/intro/latest"
5555
//"/date/{yyyy:\\d\\d\\d\\d}/{mm:\\d\\d}/{dd:\\d\\d}" matches "/date/2017/04/01"
5656
package chi
5757

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp