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

IBM / fp-go / 40082927450
69%

Build:
DEFAULT BRANCH: main
Ran 24 Oct 2026 09:41AM UTC
Jobs 12
Files 1081
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

24 Oct 2026 09:41AM UTC coverage: 69.165% (+0.008%) from 69.157%
40082927450

push

github

web-flow
feat(option,either,result): add Wrap as the inverse of Unwrap (#295)

* feat(option): add Wrap as the inverse of Unwrap

Wrap(a, ok) returns Some(a) if ok is true and None otherwise, so it can be applied directly to comma-ok calls and satisfies Wrap(Unwrap(o)) == o.

Closes #294

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>

* feat(either,result): add Wrap as an alias for TryCatchError

For symmetry with option.Wrap, either.Wrap and result.Wrap convert an idiomatic (value, error) tuple into an Either/Result. They can be applied directly to calls returning (A, error) and are the inverse of UnwrapError/Unwrap.

Refs #294

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>

---------

Signed-off-by: Dr. Carsten Leue <carsten.leue@de.ibm.com>

37280 of 53900 relevant lines covered (69.17%)

29193.08 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
72.26
0.62% result/either.go
Jobs
ID Job ID Ran Files Coverage
1 v1-go-1.23.x - 40082927450.1 24 Oct 2026 09:42AM UTC 498
27.22
GitHub Action Run
2 v1-go-1.22.x - 40082927450.2 24 Oct 2026 09:42AM UTC 498
27.22
GitHub Action Run
3 v1-go-1.20.x - 40082927450.3 24 Oct 2026 09:41AM UTC 456
31.83
GitHub Action Run
4 v2-go-1.26.x - 40082927450.4 24 Oct 2026 09:44AM UTC 976
61.32
GitHub Action Run
5 v2-go-1.27.x - 40082927450.5 24 Oct 2026 09:44AM UTC 982
59.22
GitHub Action Run
6 v1-go-1.27.x - 40082927450.6 24 Oct 2026 09:42AM UTC 498
25.57
GitHub Action Run
7 v2-go-1.25.x - 40082927450.7 24 Oct 2026 09:45AM UTC 976
61.32
GitHub Action Run
8 v1-go-1.25.x - 40082927450.8 24 Oct 2026 09:42AM UTC 498
27.22
GitHub Action Run
9 v2-go-1.24.x - 40082927450.9 24 Oct 2026 09:44AM UTC 976
61.32
GitHub Action Run
10 v1-go-1.26.x - 40082927450.10 24 Oct 2026 09:42AM UTC 498
27.22
GitHub Action Run
11 v1-go-1.21.x - 40082927450.11 24 Oct 2026 09:41AM UTC 456
31.83
GitHub Action Run
12 v1-go-1.24.x - 40082927450.12 24 Oct 2026 09:42AM UTC 498
27.22
GitHub Action Run
Source Files on build 40082927450
  • Tree
  • List 1081
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40082927450
  • c13588de on github
  • Prev Build on main (#40027905993)
  • Next Build on main (#40104811040)
  • Delete
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