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

go-pkgz / routegroup
100%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v1.5.3
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 refs/tags/v1.1.0
branch: refs/tags/v1.1.0
CHANGE BRANCH
x
Reset
  • refs/tags/v1.1.0
  • 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.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
  • static-files
  • update-golangci-lint

13 Mar 2024 04:56AM UTC coverage: 100.0%. Remained the same
8259694102

push

github

web-flow
Add catch-all route if one not regeisterd yet (#8)

* Add root handling to allow middleware on unregistered paths

This update introduces root handling functionality to the group routing. Now, if no root route ("/") is registered, a not found handler is automatically registered for the root route. This helps in utilizing middleware for all routes such as logging. Additionally, the middleware wrapping process has been refactored into a separate function to streamline the code and improve readability. The update also includes related tests and minor tweaks to existing tests. #7

* update docs

* Implement option to disable automatic NotFoundHandler registration

* add test for DisableNotFoundHandler beheaivour

94 of 94 relevant lines covered (100.0%)

9.27 hits per line

Relevant lines Covered
Build:
Build:
94 RELEVANT LINES 94 COVERED LINES
9.27 HITS PER LINE
Source Files on refs/tags/v1.1.0
  • 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
8259694102 refs/tags/v1.1.0 Add catch-all route if one not regeisterd yet (#8) * Add root handling to allow middleware on unregistered paths This update introduces root handling functionality to the group routing. Now, if no root route ("/") is registered, a not found ha... push 13 Mar 2024 04:59AM UTC web-flow github
100.0
See All Builds (122)
  • 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