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

radio-t / super-bot / 32257769945
75%
master: 75%

Build:
Build:
LAST BUILD BRANCH: update-deps
DEFAULT BRANCH: master
Ran 19 Aug 2026 01:24PM UTC
Jobs 1
Files 36
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

19 Aug 2026 01:14PM UTC coverage: 75.104% (-0.007%) from 75.111%
32257769945

Pull #162

github

paskal
Apply go fix

`go fix` in Go 1.26 runs the modernizer analysers, so it rewrites
`strings.HasPrefix`/`TrimPrefix` pairs into `strings.CutPrefix`,
`sort.Slice` into `slices.Sort`, counted `for` loops into `for range n`,
`strings.Fields` into `strings.FieldsSeq`, string accumulation into
`strings.Builder`, and per-test contexts into `t.Context()`.

It also drops `omitempty` from the two struct-typed fields of
`bot.Message`, where the option has never had any effect: encoding/json
treats only false, 0, nil pointers and empty arrays, slices, maps and
strings as empty, so a struct is always encoded. The marshalled form of
the message log written in `app/reporter/reporter.go` and read back in
`app/reporter/export.go` is unchanged, and existing logs still parse.
The alternative `omitzero` rewrite, which would change behaviour, is
deliberately not applied.

The `strings.Builder` rewrites left two `WriteString(fmt.Sprintf(...))`
calls that staticcheck flags as QF1012; they are written as
`fmt.Fprintf` instead.
Pull Request #162: Apply go fix

23 of 23 new or added lines in 7 files covered. (100.0%)

2709 of 3607 relevant lines covered (75.1%)

54.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32257769945.1 19 Aug 2026 01:24PM UTC 36
75.1
GitHub Action Run
Source Files on build 32257769945
  • Tree
  • List 36
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #162
  • PR Base - master (#27150093505)
  • 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