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

alexferl / zerohttp / 22770443666 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 06 Mar 2026 03:41PM UTC
Files 45
Run time 2s
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

06 Mar 2026 03:40PM UTC coverage: 92.759% (-0.7%) from 93.445%
22770443666.1

push

github

web-flow
refactor: convert all config from functional options to struct-based API (#34)

* refactor: convert all config from functional options to struct-based API

BREAKING CHANGE: Remove all `With*` functions in favor of direct struct configuration

- Server: `zh.New(config.Config{...})` instead of `zh.New(config.WithXxx(...))`
- Middleware: `middleware.CORS(config.CORSConfig{...})` instead of `middleware.CORS(config.WithCORSXxx(...))`
- Healthcheck: `healthcheck.New(app, healthcheck.Config{...})` with exported `DefaultConfig`
- Remove all `*Option` types and `With*` functions from config package
- Update all examples and documentation to use new API
- Add `config.Bool()` helper for `*bool` pointer fields

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

* add config merging

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

---------

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

4368 of 4709 relevant lines covered (92.76%)

16.29 hits per line

Source Files on job 22770443666.1
  • Tree
  • List 45
  • Changed 31
  • Source Changed 30
  • Coverage Changed 30
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22770443666
  • 6f7c8ebb on github
  • Prev Job for on master (#22741691151.1)
  • Next Job for on master (#22792904807.1)
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