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

rm-hull / gps-routes-api / 21762444096
46%
main: 47%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/Depado/ginprom-1.8.3
DEFAULT BRANCH: main
Ran 06 Feb 2026 07:03PM UTC
Jobs 1
Files 19
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

06 Feb 2026 07:02PM UTC coverage: 46.114% (-1.8%) from 47.873%
21762444096

Pull #97

github

rm-hull
refactor: Abstract parameter management in query builder

This change introduces `WithParam` to the `QueryBuilder`, allowing for
explicit and chainable addition of query parameters, improving clarity
in query construction flows.

Additionally, the PostgreSQL repository logic for finding nearby items
is refactored to use the query builder's robust text truncation features
(`WithTruncatedField`). This ensures consistency and simplifies the
static SQL definitions used in the repository.

A new helper `asFieldAlias` ensures that truncated fields are correctly
aliased when they include table prefixes (e.g., **r.title** becomes
**title**).
Pull Request #97: refactor: Use RouteSummary for nearby routes

13 of 51 new or added lines in 2 files covered. (25.49%)

32 existing lines in 2 files now uncovered.

629 of 1364 relevant lines covered (46.11%)

0.49 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
86.27
-10.55% db/query_builder.go
36
25.0
-3.93% repositories/postgres.go

Uncovered Existing Lines

Lines Coverage ∆ File
15
86.27
-10.55% db/query_builder.go
17
25.0
-3.93% repositories/postgres.go
Jobs
ID Job ID Ran Files Coverage
1 21762444096.1 06 Feb 2026 07:03PM UTC 19
46.11
GitHub Action Run
Source Files on build 21762444096
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #97
  • PR Base - main (#21508602500)
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