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

gookit / config / 28692475283
98%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2026 02:43AM UTC
Jobs 5
Files 11
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

04 Jul 2026 02:42AM UTC coverage: 98.154% (-0.07%) from 98.22%
28692475283

push

github

web-flow
fix(read): Duration() parses Go duration strings (e.g. "300s", "1h30m") (#218)

The Config.Duration getter read the value as an int64 and returned
time.Duration(n) — i.e. nanoseconds — so a duration string like "300s" could
not be read at all (it failed integer parsing and yielded 0), and a bare
number was interpreted as nanoseconds. Duration parsing existed only on the
struct-binding path (ParseTime decode hook), not the getter.

Parse the stored value as a Go duration string first (time.ParseDuration),
falling back to the previous int64-nanoseconds behaviour for bare integers,
then to the default. Backwards compatible; adds a getter test.

13 of 14 new or added lines in 1 file covered. (92.86%)

1223 of 1246 relevant lines covered (98.15%)

5.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.78
-0.18% read.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.23 - 28692475283.1 04 Jul 2026 02:43AM UTC 11
98.15
GitHub Action Run
2 Go-stable - 28692475283.2 04 Jul 2026 02:43AM UTC 11
98.15
GitHub Action Run
3 Go-1.24 - 28692475283.3 04 Jul 2026 02:43AM UTC 11
98.15
GitHub Action Run
4 Go-1.21 - 28692475283.4 04 Jul 2026 02:43AM UTC 11
98.15
GitHub Action Run
5 Go-1.22 - 28692475283.5 04 Jul 2026 02:43AM UTC 11
98.15
GitHub Action Run
Source Files on build 28692475283
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 94aa2e86 on github
  • Prev Build on master (#28224691523)
  • Next Build on master (#28695255396)
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