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

dal-go / dalgo / 27272597843
100%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 11:20AM UTC
Jobs 1
Files 119
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

10 Jun 2026 11:19AM UTC coverage: 99.946%. Remained the same
27272597843

push

github

web-flow
feat(dal): typed id read accessors GetRecordWithID/GetRecordWithDataAndID + GetRecordWithIDIntoData (#76)

Add typed id-bearing read accessors to the Collection layer, now that
RecordWithID/RecordWithDataAndID live in dal (no more dal->record cycle):

- Collection.GetRecordWithID(ctx, s, id) -> RecordWithID[K]
- Collection.GetRecordWithDataAndID(ctx, s, id) -> RecordWithDataAndID[K, *T]
  (Data is the same *T the Record holds)
- dal.GetRecordWithIDIntoData[K,D](ctx, s, key, id, data) -> RecordWithDataAndID[K, D]
  decodes INTO a caller-supplied value, so D may be an interface (factory
  pattern). A free function because Go forbids type parameters on methods.

record.GetWithID is now a thin forwarder to Collection.GetRecordWithID and is
marked Deprecated (its own test keeps it covered via //nolint:staticcheck).

All accessors delegate to GetRecord and propagate the session not-found error.
golangci-lint clean; 100% coverage on new code; dal still does not import
record; README + typed-collection Feature/Plan specs updated; spec lint clean.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

20 of 20 new or added lines in 3 files covered. (100.0%)

7407 of 7411 relevant lines covered (99.95%)

1.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27272597843.1 10 Jun 2026 11:20AM UTC 119
99.95
GitHub Action Run
Source Files on build 27272597843
  • Tree
  • List 119
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 355a81ba on github
  • Prev Build on main (#27270816792)
  • Next Build on main (#27279340179)
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