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

tecnickcom / gogen / 28814129572
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 06:35PM UTC
Jobs 1
Files 167
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

06 Jul 2026 06:29PM UTC coverage: 99.971%. Remained the same
28814129572

push

github

nicolaasuni
feat(errutil): add ErrNilErrorFunc, make JoinFnError panic-free, and harden Trace metadata

- Add ErrNilErrorFunc and join it into *err when fn is nil, and make JoinFnError a no-op when the target pointer is nil, so defer/cleanup paths never panic; callers can errors.Is the nil-func case.
- Stop re-wrapping the primary error when fn returns nil: JoinFnError now leaves *err untouched (same concrete type) instead of wrapping it in a single-element joinError.
- Harden Trace: fall back to the function name "unknown" when runtime caller metadata is unavailable, and simplify the caller lookup.
- Document JoinFnError's defer/named-return usage and the silent-discard footgun, and note that Trace's file path is compiler-recorded and -trimpath dependent.
- Add nil-func, nil-pointer, and no-rewrap tests, an output-verified defer example, and Trace/JoinFnError benchmarks. Coverage stays at 100%.

16 of 16 new or added lines in 2 files covered. (100.0%)

13710 of 13714 relevant lines covered (99.97%)

140843.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28814129572.1 06 Jul 2026 06:35PM UTC 167
99.97
GitHub Action Run
Source Files on build 28814129572
  • Tree
  • List 167
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28814129572
  • 52140b07 on github
  • Prev Build on main (#28813046103)
  • Next Build on main (#28815178265)
  • Delete
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