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

go-pkgz / routegroup / 18474481196
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: fix-ci-caching
DEFAULT BRANCH: master
Ran 13 Oct 2025 06: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

13 Oct 2025 06:09PM UTC coverage: 98.049% (+0.06%) from 97.99%
18474481196

Pull #29

github

umputun
fix: auto-create group when Route called on root bundle

Improve UX by making Route() automatically create a sub-group when called on the root bundle. This prevents the common mistake where users call router.Route(...) expecting isolated middleware scope but accidentally modify the root bundle's global middleware stack.

Before: router.Route(fn) modified root directly (unexpected)

After: router.Route(fn) auto-creates group (expected behavior)

The change makes these patterns equivalent:

- router.Route(fn)

- router.Group().Route(fn)
Pull Request #29: Fix Route UX: auto-create group when called on root bundle

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

4 existing lines in 1 file now uncovered.

201 of 205 relevant lines covered (98.05%)

46.28 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
98.05
0.06% group.go
Jobs
ID Job ID Ran Files Coverage
1 18474481196.1 13 Oct 2025 06:11PM UTC 1
98.05
GitHub Action Run
Source Files on build 18474481196
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #29
  • PR Base - master (#16888339400)
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