Skip to content

Commit 8d325d0

Browse files
docs: update README.md
1 parent d1d420b commit 8d325d0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,9 @@ type Routes interface {
249249
```
250250

251251
Each routing method accepts a URL `pattern` and chain of `handlers`. The URL pattern
252-
supports named params (ie. `/users/{userID}`) and wildcards (ie. `/admin/*`). URL parameters
253-
can be fetched at runtime by calling `chi.URLParam(r, "userID")` for named parameters
252+
supports named params (ie. `/users/{userID}`), slash-matching named params
253+
(ie. `/files/{path:*}`), and wildcards (ie. `/admin/*`). URL parameters can be
254+
fetched at runtime by calling `chi.URLParam(r, "userID")` for named parameters
254255
and `chi.URLParam(r, "*")` for a wildcard parameter.
255256

256257

0 commit comments

Comments
 (0)