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

enetx / g / 22254013504
89%

Build:
DEFAULT BRANCH: main
Ran 21 Feb 2026 09:02AM UTC
Jobs 1
Files 50
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

21 Feb 2026 08:59AM UTC coverage: 89.174% (-0.04%) from 89.218%
22254013504

push

github

enetx
feat(print): add {wrap} modifier to Errorf for error chain support

Errorf now supports a {wrap} modifier that simultaneously formats an
error value into the message and wraps it in the returned error,
enabling errors.Is / errors.As to traverse the chain.

Supported forms:
  {.wrap}       — auto-index
  {1.wrap}      — positional
  {name.wrap}   — named
  multiple {wrap} references wrap multiple errors

Add wrappedError type (Unwrap() []error) to errors.go.
Add TestErrorf covering all forms and edge cases.
Add examples/print/ with basic, format, and errorf examples.

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

20 existing lines in 1 file now uncovered.

5420 of 6078 relevant lines covered (89.17%)

13945.88 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
20
82.92
-4.12% slice.go
Jobs
ID Job ID Ran Files Coverage
1 22254013504.1 21 Feb 2026 09:02AM UTC 50
89.17
GitHub Action Run
Source Files on build 22254013504
  • Tree
  • List 50
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5c1a6879 on github
  • Prev Build on main (#22233454591)
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