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

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

Build:
Build:
LAST BUILD BRANCH: fix-ci-caching
DEFAULT BRANCH: master
Ran 09 Aug 2025 05:11PM 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%
16851758358

Pull #23

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
Pull Request #23: Fix path parameter extraction in ServeHTTP

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 16851758358.1 09 Aug 2025 05:11PM UTC 1
95.98
GitHub Action Run
Source Files on build 16851758358
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #23
  • PR Base - master (#16826134538)
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