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

go-pkgz / routegroup
98%

Build:
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 master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • better-root-handling
  • catch-all
  • cleanup
  • custom-not-found
  • feat/handle-root-without-redirect
  • fix-405-response
  • fix-ci-caching
  • fix-issue-24-double-middleware
  • fix-issue-27-notfound-vs-405
  • fix-mounted-method-subtrees
  • fix-notfound-swallows-redirect
  • fix-path-params-issue-22
  • fix-route-ux
  • handlefiles-method-pattern
  • 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
  • refs/tags/v1.6.1
  • static-files
  • update-ci-actions
  • update-golangci-lint

08 Oct 2026 03:44AM UTC coverage: 98.165% (+0.04%) from 98.122%
37724143544

push

github

umputun
fix: handle method patterns in HandleFiles

HandleFiles prepended the mount prefix to the whole pattern, so
"GET /static/" on a mounted group built "/apiGET /static/" and panicked
at registration. On a root group it registered, but the method ended up
in the prefix passed to StripPrefix and every file returned 404.

Split the method off first and apply the prefix, the trailing slash and
StripPrefix to the path only.

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

214 of 218 relevant lines covered (98.17%)

54.76 hits per line

Relevant lines Covered
Build:
Build:
218 RELEVANT LINES 214 COVERED LINES
54.76 HITS PER LINE
Source Files on master
  • Tree
  • 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
37724143544 master fix: handle method patterns in HandleFiles HandleFiles prepended the mount prefix to the whole pattern, so "GET /static/" on a mounted group built "/apiGET /static/" and panicked at registration. On a root group it registered, but the method ende... push 08 Oct 2026 03:44AM UTC umputun github
98.17
37723797254 handlefiles-method-pattern fix: handle method patterns in HandleFiles HandleFiles prepended the mount prefix to the whole pattern, so "GET /static/" on a mounted group built "/apiGET /static/" and panicked at registration. On a root group it registered, but the method ende... Pull #34 08 Oct 2026 03:40AM UTC umputun github
98.17
37723717252 handlefiles-method-pattern fix: handle method patterns in HandleFiles HandleFiles prepended the mount prefix to the whole pattern, so "GET /static/" on a mounted group built "/apiGET /static/" and panicked at registration. On a root group it registered, but the method ende... push 08 Oct 2026 03:39AM UTC umputun github
98.17
37723194245 master Fix mounted method patterns with trailing slashes push 08 Oct 2026 03:33AM UTC umputun github
98.12
37693053992 fix-mounted-method-subtrees Fix mounted method patterns with trailing slashes Pull #33 08 Oct 2026 03:31AM UTC bensynapse github
98.12
31932947260 refs/tags/v1.6.1 fix: preserve ServeMux routing with custom not-found handler (#32) * fix: preserve ServeMux routing with custom not-found handler * docs: clarify custom not-found handler behavior * docs: drop the stale line count from the feature list group.g... push 16 Aug 2026 07:04AM UTC web-flow github
98.1
31932612567 master fix: preserve ServeMux routing with custom not-found handler (#32) * fix: preserve ServeMux routing with custom not-found handler * docs: clarify custom not-found handler behavior * docs: drop the stale line count from the feature list group.g... push 16 Aug 2026 06:56AM UTC web-flow github
98.1
31932453302 fix-notfound-swallows-redirect docs: drop the stale line count from the feature list group.go is 375 lines, 234 excluding comments and blanks, so "just about 100 LOC" was wrong by roughly a factor of two and would go stale again with any number. Pull #32 16 Aug 2026 06:52AM UTC umputun github
98.1
31932272772 fix-notfound-swallows-redirect docs: drop the stale line count from the feature list group.go is 375 lines, 234 excluding comments and blanks, so "just about 100 LOC" was wrong by roughly a factor of two and would go stale again with any number. push 16 Aug 2026 06:48AM UTC umputun github
98.1
31921654264 master chore: update CI actions and golangci-lint version - checkout v4 to v7, setup-go v5 to v7, golangci-lint-action v7 to v9 - golangci-lint pin v2.6 to v2.12 - exclude gosec G705 in test files, it flags fixtures echoing path params - accept 307 as w... push 16 Aug 2026 02:20AM UTC umputun github
98.09
See All Builds (142)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc