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

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

Build:
Build:
LAST BUILD BRANCH: fix-ci-caching
DEFAULT BRANCH: master
Ran 09 Aug 2025 05:11PM UTC
Files 1
Run time 0s
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.1

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

167 of 174 relevant lines covered (95.98%)

35.49 hits per line

Source Files on job 16851758358.1
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16851758358
  • b878ea82 on github
  • Prev Job for on fix-path-params-issue-22 (#16826134538.1)
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