• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

package-url / packageurl-go / 32344891965
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: type-constants
DEFAULT BRANCH: master
Ran 21 Aug 2026 07:55AM UTC
Jobs 1
Files 1
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

20 Aug 2026 07:35AM UTC coverage: 89.263%. Remained the same
32344891965

Pull #104

github

timofurrer
Make purl type identifiers constants

These are fixed spec identifiers, but as package-level vars any consumer
could reassign them and change parsing behaviour process-wide.

Leaving them untyped keeps this backwards compatible: every read-only
use still compiles, and assigning to a named string type now works too.
Only taking their address or reassigning them breaks, which is the point.

KnownTypes and CandidateTypes stay vars, since maps cannot be constants.
Pull Request #104: Make purl type identifiers constants

424 of 475 relevant lines covered (89.26%)

681.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32344891965.1 21 Aug 2026 07:54AM UTC 1
89.26
GitHub Action Run
Source Files on build 32344891965
  • Tree
  • List 1
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #104
  • PR Base - master (#26564191658)
  • Delete
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