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

alexferl / zerohttp / 23116308964
94%

Build:
DEFAULT BRANCH: master
Ran 15 Mar 2026 06:15PM UTC
Jobs 1
Files 83
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

15 Mar 2026 06:14PM UTC coverage: 93.69% (-0.1%) from 93.792%
23116308964

push

github

web-flow
refactor: reorganize examples and update documentation (#110)

* refactor: reorganize examples and update documentation

- Restructure examples/ into core/, middleware/, extensions/, third_party/
- Add README.md to all example directories with links
- Update root README.md with lifecycle hooks and config docs
- Add testing example demonstrating zhtest package
- Extract needsTLSServer() helper function
- Fix TLS server creation logic for HTTP/3 support
- Update config references to use nested structs (TLS, Extensions, Lifecycle)

Signed-off-by: alexferl <me@alexferl.com>

* feat(examples): add rendering, route_groups, and request_tracing examples

Add dedicated examples for:
- Response rendering methods (JSON, HTML, text, blob, stream, file, ProblemDetail)
- Route groups with nested middleware
- Request ID tracing and context propagation

Update examples/README.md with links to new examples.

Signed-off-by: alexferl <me@alexferl.com>

---------

Signed-off-by: alexferl <me@alexferl.com>

233 of 251 new or added lines in 7 files covered. (92.83%)

9 existing lines in 4 files now uncovered.

9131 of 9746 relevant lines covered (93.69%)

404.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
91.02
-3.58% server_lifecycle.go
5
90.46
-0.24% server.go
2
84.1
0.07% middleware/request_logger.go
2
98.41
-0.67% router.go

Coverage Regressions

Lines Coverage ∆ File
3
98.41
-0.67% router.go
2
97.26
-2.74% internal/validator/registry.go
2
96.96
-0.33% middleware/jwt_auth.go
2
84.1
0.07% middleware/request_logger.go
Jobs
ID Job ID Ran Files Coverage
1 23116308964.1 15 Mar 2026 06:15PM UTC 83
93.69
GitHub Action Run
Source Files on build 23116308964
  • Tree
  • List 83
  • Changed 11
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23116308964
  • 0a2a3eef on github
  • Prev Build on master (#23097662982)
  • Next Build on master (#23123528530)
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