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

alexferl / zerohttp
94%

Build:
DEFAULT BRANCH: master
Repo Added 05 Mar 2026 11:18PM UTC
Files 93
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: master
CHANGE BRANCH
x
Reset
  • master
  • accept
  • altsvc
  • assert_within
  • asserts
  • atomic_proxy
  • auto_options
  • benchmarks
  • bind_dupe
  • bind_type_registry
  • bind_unknown_fields
  • bind_valid_fix
  • bool_defaults
  • bool_ptr
  • builtins_refactor
  • bump_log_levels
  • cache
  • cache_redis
  • cb_lock
  • circuit_breaker_half_open
  • circuit_double_lock
  • compress_algos
  • compress_dead_code
  • compress_etag
  • compress_flush
  • compress_nil
  • compress_providers
  • compress_write_header
  • config_merge
  • config_refactor
  • context_keys
  • cors
  • coveralls
  • csp_nonce
  • csrf_fix
  • custom_compression
  • custom_logs
  • dedicated_metrics
  • dive
  • docs
  • docs_clean
  • docs_idem
  • errors
  • etag
  • examples
  • excluded_included
  • fh_size
  • fix/required_pointer_fields
  • fix_compress
  • fix_docs
  • fix_examples
  • fix_idem_key
  • fix_issues
  • fix_path_matches
  • fix_readme
  • fix_spin
  • fixes
  • flush
  • golangci-lint
  • head_fix
  • headers
  • healthcheck_ctx
  • hmac_auth
  • hmac_auth_fix
  • hmac_auth_key
  • host_valid
  • hsts_example
  • http_error_log
  • https_redir
  • idempotency
  • impl
  • json_error_log
  • jsonpath
  • jwt_auth
  • jwt_metric_fix
  • jwt_storage
  • jwtauth_cookies
  • layout_refactor
  • log_colours
  • log_filtering
  • mediatype
  • mediatype_fix
  • mediatype_func
  • mediatype_header
  • metrics
  • metrics_cardinality
  • metrics_example
  • mw
  • pagination
  • pagination_defaults
  • panic_errors
  • perf
  • perf_router
  • pprof
  • pprof_fix
  • prefix_keys
  • problem-detail-migration
  • rate_limit_fix
  • rate_limit_key
  • rate_limit_lock
  • readme
  • redirect_https
  • redundant_alia
  • refactor
  • refactor_config
  • render_valid
  • request_id_gen
  • request_logger
  • request_logger_max_size
  • reverse_proxy
  • reverse_proxy_cleanup
  • router_dupe
  • router_fs
  • router_race
  • rwutil
  • server_fixes
  • server_refactor
  • server_split
  • sse_broadcast
  • sse_context
  • sse_fix
  • sse_fixes
  • sse_race
  • static
  • static_file_handler
  • storage
  • test_refactor
  • tracer
  • tracing
  • type_registry
  • update_deps
  • valid_anyof
  • valid_zero
  • validation
  • validator_refactor
  • validator_registry
  • variadic_config

28 May 2026 02:14AM UTC coverage: 93.967% (+0.004%) from 93.963%
26550472438

push

github

web-flow
feat(zhtest): add AnError sentinel and AssertWithin assertion (#176)

Add `AnError` sentinel error for mock return values and
`AssertWithin` for floating-point range assertions. Includes
tests for both and a nolint directive for the non-standard
error variable name.

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

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

7 existing lines in 2 files now uncovered.

10653 of 11337 relevant lines covered (93.97%)

141.83 hits per line

Relevant lines Covered
Build:
Build:
11337 RELEVANT LINES 10653 COVERED LINES
141.83 HITS PER LINE
Source Files on master
  • Tree
  • List 93
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26550472438 master feat(zhtest): add AnError sentinel and AssertWithin assertion (#176) Add `AnError` sentinel error for mock return values and `AssertWithin` for floating-point range assertions. Includes tests for both and a nolint directive for the non-standard e... push 28 May 2026 02:15AM UTC web-flow github
93.97
26429705029 master feat: promote lifecycle hook logs from Debug to Info (#175) Make pre-startup, startup, post-startup, pre-shutdown, shutdown, and post-shutdown hook logging visible at the default log level. Signed-off-by: alexferl <me@alexferl.com> push 26 May 2026 03:00AM UTC web-flow github
93.96
25532326328 master fix: remove busy-wait loop in server startup select (#174) The for-select around errCh/startupHookErrCh would spin when channels closed or delivered zero values. Replace with a single select that blocks on both channels deterministically. Signed... push 08 May 2026 01:59AM UTC web-flow github
93.94
25510958041 master feat: return 422 for unknown JSON fields and include safe bind error details (#173) Unknown fields from DisallowUnknownFields now return 422 Unprocessable Entity with the field name in the errors response: {"field": ["extra inputs are not permitt... push 07 May 2026 05:15PM UTC web-flow github
93.95
25393724964 master fix: validator had a bug where required on pointer fields was applied twice - once to check the pointer was non-nil (correct), and again on the dereferenced value (incorrect). So *float64 pointing to 0 (#172) failed because 0 is the zero value fo... push 05 May 2026 06:09PM UTC web-flow github
93.86
25012572032 master feat(sse): add context.Context to Broadcaster interface methods (#171) All Broadcaster methods — Register, Unregister, Subscribe, Unsubscribe, Broadcast, and BroadcastTo — now accept a context.Context as their first parameter. Updated implementat... push 27 Apr 2026 06:32PM UTC web-flow github
93.96
25001685806 master feat(sse): add Broadcaster interface and broadcast hooks (#170) - Introduce Broadcaster interface for pluggable hub implementations - Add OnBroadcast and OnBroadcastTo hooks to Hub for observability - Update tests and package docs Signed-off-by:... push 27 Apr 2026 02:43PM UTC web-flow github
93.97
24062594982 master feat: default error responses to JSON instead of plain text (#169) Change the default behavior when no Accept header is present to return application/problem+json instead of text/plain. This affects: - All middleware error responses (circuitbrea... push 07 Apr 2026 03:20AM UTC web-flow github
93.97
23970244593 master feat(pagination): make defaults configurable (#168) Add `DefaultPerPage` (25) and `DefaultMaxPerPage` (100) package-level variables that can be changed at runtime to configure pagination defaults. BREAKING CHANGE: Default per_page changed from 2... push 04 Apr 2026 03:21AM UTC web-flow github
93.96
23969967402 master feat(mediatype): add ResponseTypeFunc for dynamic response headers (#167) Replace static ResponseTypeValue with ResponseTypeFunc that transforms the negotiated media type into the response header value. This enables the header to reflect what was... push 04 Apr 2026 03:03AM UTC web-flow github
93.93
See All Builds (359)
  • 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

© 2026 Coveralls, Inc