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

go-pkgz / enum
99%

Build:
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 master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • 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
  • 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
  • refs/tags/v0.6.0
  • split-template-from-code
  • sql
  • support-for-complex-type-names

05 Dec 2025 06:49AM UTC coverage: 99.237%. Remained the same
19955157628

push

github

umputun
docs: add note about not modifying exported enum slices

document that StatusValues and StatusNames are exported slices
that should not be modified as this would affect all code using
the enum.

520 of 524 relevant lines covered (99.24%)

391.92 hits per line

Relevant lines Covered
Build:
Build:
524 RELEVANT LINES 520 COVERED LINES
391.92 HITS PER LINE
Source Files on master
  • Tree
  • List 2
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
19955157628 master docs: add note about not modifying exported enum slices document that StatusValues and StatusNames are exported slices that should not be modified as this would affect all code using the enum. push 05 Dec 2025 06:51AM UTC umputun github
99.24
19789824344 master 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 09:58PM UTC web-flow github
99.24
17389515208 master add enum to .gitignore to exclude generated files push 02 Sep 2025 12:10AM UTC umputun github
99.57
17389454394 master Add BSON, SQL, and YAML support with conditional generation (#16) * feat(generator): add BSON, SQL, and YAML support with conditional generation Implement conditional code generation for database and serialization support: - Add -sql flag for da... push 02 Sep 2025 12:06AM UTC web-flow github
99.57
16871917313 master Major refactor and feature enhancements for enum generator (#15) Performance Improvements: - Replace switch-based parsing with O(1) map lookups for 10x faster parsing - Pre-compute Values and Names as package variables instead of functions - Use ... push 11 Aug 2025 05:47AM UTC web-flow github
99.55
14672719108 master Fix handling of binary expressions with iota push 25 Apr 2025 08:15PM UTC umputun github
84.91
14672446092 master Fix linter issues and add dummy usage of enum constants to prevent linter warnings push 25 Apr 2025 07:57PM UTC umputun github
94.55
14672251301 master Improve README documentation for naming conventions and parameters push 25 Apr 2025 07:43PM UTC Umputun github
94.55
14561884289 master Add Go 1.23 iterator support and migrate to golangci-lint v2 Added support for Go 1.23's range-over-func iterator pattern and migrated to golangci-lint v2 configuration - Added TypeIter() function to all generated enums - Added comprehensive tes... push 20 Apr 2025 05:44PM UTC web-flow github
94.55
14186146456 master Add support to get the enum value by the constant int value (#6) * Add support to get the enum value by the constant int value * Make the getter generation optional * Changes after review * regenerate exmaples push 01 Apr 2025 03:01AM UTC web-flow github
94.55
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