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

alexferl / zerohttp / 46356512795
94%

Build:
DEFAULT BRANCH: master
Ran 30 Nov 2026 04:59AM UTC
Jobs 1
Files 93
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

30 Nov 2026 04:57AM UTC coverage: 93.583% (+0.03%) from 93.552%
46356512795

push

github

web-flow
refactor: use the new built-in for pointer bool literals (#179)

Go 1.26 extended new to accept an expression, so new(true) and new(false)
return *T values for constants. Config fields use *bool to distinguish
"not set" (nil) from "explicitly false", and every constant assignment went
through config.Bool for want of a way to take the address of a constant.

Replace the 116 constant config.Bool(true/false) calls with new(...) and
drop the now-unused config import from the files that no longer reference
the package. config.Bool stays for callers that point at a value only known
at run time, which new cannot express; its doc comment now says so instead
of claiming Go cannot take the address of a constant.

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

9260 of 9895 relevant lines covered (93.58%)

125.42 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
88.3
-0.58% server.go
Jobs
ID Job ID Ran Files Coverage
1 46356512795.1 30 Nov 2026 04:59AM UTC 93
93.58
GitHub Action Run
Source Files on build 46356512795
  • Tree
  • List 93
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #46356512795
  • ec359a88 on github
  • Prev Build on master (#46355781665)
  • Next Build on master (#46358133233)
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