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

go-pkgz / enum / 19789824344
99%

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2025 09:58PM UTC
Jobs 1
Files 2
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

29 Nov 2025 09:56PM UTC coverage: 99.237% (-0.3%) from 99.573%
19789824344

push

github

web-flow
add alias support for enum parsing (#17)

allows enum constants to have comment annotations like
// enum:alias=rw,read-write that enable parsing multiple
string representations for the same enum value.

- add parseAliasComment() to extract aliases from inline comments
- add validateAliases() to check for conflicts and duplicates
- update template to include aliases in parse map
- make parsing always case-insensitive (fixes lowercase mode bug)
- add comprehensive tests for alias feature
- update README with alias documentation

58 of 60 new or added lines in 1 file covered. (96.67%)

520 of 524 relevant lines covered (99.24%)

391.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
99.14
-0.37% internal/generator/generator.go
Jobs
ID Job ID Ran Files Coverage
1 19789824344.1 29 Nov 2025 09:58PM UTC 2
99.24
GitHub Action Run
Source Files on build 19789824344
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9cda39d7 on github
  • Prev Build on master (#17389515208)
  • Next Build on master (#19955157628)
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