Fix typo in Route doc comment (#1073)

This commit is contained in:
狗娃子 2026-05-16 22:34:19 +08:00 committed by GitHub
parent 4ef87eaf2c
commit f975af0cb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
chi.go
View file

@ -77,7 +77,7 @@ type Router interface {
// path, with a fresh middleware stack for the inline-Router.
Group(fn func(r Router)) Router
// Route mounts a sub-Router along a `pattern`` string.
// Route mounts a sub-Router along a `pattern` string.
Route(pattern string, fn func(r Router)) Router
// Mount attaches another http.Handler along ./pattern/*