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

go-pkgz / routegroup
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.6.0
DEFAULT BRANCH: master
Repo Added 22 Feb 2024 08:55AM UTC
Files 1
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

LAST BUILD ON BRANCH fix-route-ux
branch: fix-route-ux
CHANGE BRANCH
x
Reset
  • fix-route-ux
  • better-root-handling
  • catch-all
  • cleanup
  • custom-not-found
  • feat/handle-root-without-redirect
  • fix-405-response
  • fix-issue-24-double-middleware
  • fix-issue-27-notfound-vs-405
  • fix-path-params-issue-22
  • master
  • mux-compat
  • pr19
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v1.0.0
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.2.0
  • refs/tags/v1.3.0
  • refs/tags/v1.3.1
  • refs/tags/v1.4.0
  • refs/tags/v1.4.1
  • refs/tags/v1.5.0
  • refs/tags/v1.5.1
  • refs/tags/v1.5.2
  • refs/tags/v1.5.3
  • refs/tags/v1.6.0
  • static-files
  • update-golangci-lint

13 Oct 2025 06:14PM UTC coverage: 98.086% (+0.1%) from 97.99%
18474598086

Pull #29

github

umputun
fix: preserve root lock when Route auto-creates group

When Route() is called on root bundle and auto-creates a child group, the root bundle must also be locked if the child registers routes. This ensures that router.Use() after router.Route() properly panics, maintaining the contract that middlewares cannot be added after routes.

Added test case to verify the fix and prevent regression.
Pull Request #29: Fix Route UX: auto-create group when called on root bundle

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

205 of 209 relevant lines covered (98.09%)

45.69 hits per line

Relevant lines Covered
Build:
Build:
209 RELEVANT LINES 205 COVERED LINES
45.69 HITS PER LINE
Source Files on fix-route-ux
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18474598086 fix-route-ux fix: preserve root lock when Route auto-creates group When Route() is called on root bundle and auto-creates a child group, the root bundle must also be locked if the child registers routes. This ensures that router.Use() after router.Route() pro... Pull #29 13 Oct 2025 06:16PM UTC umputun github
98.09
18474481196 fix-route-ux 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 middlewar... Pull #29 13 Oct 2025 06:11PM UTC umputun github
98.05
See All Builds (126)
  • Repo on GitHub
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

© 2025 Coveralls, Inc