`(mx *Mux) Match(...)` 在使用 `(mx *Mux) Route(...)` 时具有令人惊讶的行为
作者: msbit创建于 2023年2月15日更新于 2026年9月8日
As noted, this is surprising to me; I would expect no match to occur unless a final handler has been configured (Get(...) , Post(...) , etc.). Below is a more elaborate test setup:
内容来源: go-chi/chi