• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

go-pkgz / routegroup / 16851746891
96%
master: 98%

Build:
Build:
LAST BUILD BRANCH: fix-ci-caching
DEFAULT BRANCH: master
Ran 09 Aug 2025 05:10PM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Aug 2025 05:09PM UTC coverage: 95.977% (+0.07%) from 95.906%
16851746891

push

github

umputun
Fix path parameter extraction in ServeHTTP

Path parameters were not being populated when using mounted groups
because ServeHTTP was calling Handler() and invoking the handler
directly, bypassing ServeMux's routing which sets path parameters.

This change modifies ServeHTTP to let ServeMux handle the request
directly, ensuring path parameters are properly set while still
intercepting 404s for custom handling and applying global middlewares.

Added comprehensive tests for:
- Path parameters with Mount and Group (regression test)
- Remainder wildcards {path...}
- URL-encoded path parameters
- Middleware context preservation
- Methodless patterns
- Root bundle parameters
- HEAD requests with parameters

Related: #22

10 of 10 new or added lines in 1 file covered. (100.0%)

167 of 174 relevant lines covered (95.98%)

35.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 16851746891.1 09 Aug 2025 05:10PM UTC 1
95.98
GitHub Action Run
Source Files on build 16851746891
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b878ea82 on github
  • Prev Build on master (#16826134538)
  • Next Build on fix-path-params-issue-22 (#16852055127)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc