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

tecnickcom / gogen / 28888206532 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2026 06:14PM UTC
Files 169
Run time 10s
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

07 Jul 2026 06:09PM UTC coverage: 99.972%. Remained the same
28888206532.1

push

github

nicolaasuni
feat(paging): add HasPreviousPage/HasNextPage flags, simplify clamping with min/max, and expand tests and docs

- add HasPreviousPage and HasNextPage boolean fields (json has_previous_page/has_next_page) so callers can show or hide navigation links without re-deriving boundary conditions
- replace the minCurrentPage/maxCurrentPage/minPageSize helpers with the Go builtin min/max, removing indirection with no behaviour change
- add a fuzz test (FuzzNew, FuzzComputeOffsetAndLimit) asserting the clamping, navigation, flag, and offset invariants
- add benchmarks for New and ComputeOffsetAndLimit using the b.Loop() convention
- add a table case for the exact-multiple last-page boundary that the ceiling-division no-increment branch previously left unexercised
- document the math.MaxUint offset overflow sentinel, the New vs ComputeOffsetAndLimit clamping asymmetry, the empty-set single-page behaviour, and the JSON numeric precision caveat

14093 of 14097 relevant lines covered (99.97%)

979.18 hits per line

Source Files on job 28888206532.1
  • Tree
  • List 169
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28888206532
  • 860f5eea on github
  • Prev Job for on main (#28886800327.1)
  • Next Job for on main (#28904081343.1)
  • 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