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

go-pkgz / enum
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.6.0
DEFAULT BRANCH: master
Repo Added 16 Feb 2025 09:48AM UTC
Files 2
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

LAST BUILD ON BRANCH refs/tags/v0.6.0
branch: refs/tags/v0.6.0
CHANGE BRANCH
x
Reset
  • refs/tags/v0.6.0
  • add-go1.23-iterator
  • feat/bson-sql-yaml-support
  • feature/alias-support
  • fix-missing-import-wo-lower-flag
  • get-enum-value-by-the-int-value
  • major-refactor-and-enhancements
  • master
  • preserve-original-value-type
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.1.2
  • refs/tags/v0.1.3
  • refs/tags/v0.2.0
  • refs/tags/v0.3.0
  • refs/tags/v0.3.1
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • split-template-from-code
  • sql
  • support-for-complex-type-names

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

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.85 hits per line

Relevant lines Covered
Build:
Build:
524 RELEVANT LINES 520 COVERED LINES
391.85 HITS PER LINE
Source Files on refs/tags/v0.6.0
  • Tree
  • List 2
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19789852664 refs/tags/v0.6.0 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... push 29 Nov 2025 10:01PM UTC web-flow github
99.24
See All Builds (68)
  • Repo on GitHub
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

© 2025 Coveralls, Inc