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

tecnickcom / gogen / 28811427142
100%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 05:49PM UTC
Jobs 1
Files 167
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 Jul 2026 05:43PM UTC coverage: 99.971%. Remained the same
28811427142

push

github

nicolaasuni
feat(enum)!: add sentinel errors and cache helpers, privatize the enumcache mutex, and streamline enumdb loading

enumbitmap: export ErrUnknownBitValues and ErrUnknownStringValues and wrap them with %w so callers can match partial-conversion results with errors.Is; document the single-bit power-of-two contract, the unreachable id 0, and the 64-bit/int portability caveat; simplify the decode loop; add benchmarks and round-trip/sentinel tests.

enumcache: demote the embedded sync.RWMutex to a private field so Lock/Unlock/RLock/RUnlock are no longer part of the public API; export ErrNameNotFound and ErrIDNotFound; add Len, Has, HasID, and Delete; document the DecodeBinaryMap/EncodeBinaryMap bit-value contract; add benchmarks and tests for the sentinels, the cross-rekey path, and the new helpers.

enumdb: execute the one-shot, parameterless load query directly with db.QueryContext instead of preparing a statement, removing a round trip and the stmt.Close bookkeeping; prefix wrapped errors with "enumdb:" and document the all-or-nothing fail-fast behavior of New.

BREAKING CHANGE: enumcache.EnumCache no longer promotes the sync.RWMutex methods (Lock/Unlock/RLock/RUnlock); locking is now internal.

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

13695 of 13699 relevant lines covered (99.97%)

130354.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28811427142.1 06 Jul 2026 05:49PM UTC 167
99.97
GitHub Action Run
Source Files on build 28811427142
  • Tree
  • List 167
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28811427142
  • 0436b02c on github
  • Prev Build on main (#28808062094)
  • Next Build on main (#28813046103)
  • 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