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

dal-go / dalgo / 27267088255 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 09:33AM UTC
Files 116
Run time 5s
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 09:33AM UTC coverage: 99.946%. Remained the same
27267088255.1

push

github

web-flow
feat(dal): type Collection by id (Collection[K,T]) + record/by-key accessors (#73)

Evolve the typed convenience layer dal.Collection[T] -> dal.Collection[K, T]
so ids are strongly typed (K) instead of `any`, and add sibling accessors:

Reads:
- GetData(s, id) — canonical; Get is now a deprecated alias delegating to it
- GetRecord(s, id) (dal.Record) — read primitive GetData delegates to
- record.GetWithID[K,T](c, s, id) (record.WithID[K]) — free function in package
  record (dal stays free of any record import; K inferred from the collection)

Writes:
- InsertRecord(s, r, opts...) — shared insert primitive (Insert/InsertWithID
  delegate to it)
- SetByID (deprecates Set) + SetRecord
- UpdateByID (deprecates Update) + UpdateByKey
- DeleteByID (deprecates Delete) + DeleteByKey

Key options move off the id slot onto the constructor via WithKeyOptions(...),
applied in idToKey (composite/multi-field keys via WithFields or the *ByKey
terminals). Scalar K only for now; struct/composite ids in the typed slot are
deferred.

All new and deprecated methods are covered to 100%; golangci-lint clean; the
negative-compile proof and spec lint stay green. Docs (README) and the
typed-collection Feature/Plan specs updated to the new surface.

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

7385 of 7389 relevant lines covered (99.95%)

1.15 hits per line

Source Files on job 27267088255.1
  • Tree
  • List 116
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27267088255
  • 995fa066 on github
  • Prev Job for on main (#27260995674.1)
  • Next Job for on main (#27267412797.1)
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