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

yyle88 / goenum
39%
main: 39%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.0.5
DEFAULT BRANCH: main
Repo Added 03 Sep 2025 10:19AM UTC
Token iS7J7OtgsXnwnJndlcngG4fo011A9zWEe regen
Build 6 Last
Files 11
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.0.5
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main
  • refs/tags/v0.0.3
  • refs/tags/v0.0.4
  • refs/tags/v0.0.5

10 Dec 2025 10:48AM UTC coverage: 38.889% (+8.5%) from 30.345%
20096025046

push

github

yangyile1990
Integrate enum package with type aliases and streamlined code generation

- Add Enum and Enums type aliases to reduce generic params from two to one
- Add NewEnum and NewEnums functions in goenum package
- Update generate.go to use goenum.NewEnums and goenum.NewEnum
- Remove IsGenBasic, IsGenValid, IsGenCheck config options from goenumgen
- Remove internal/constraint package (now obsolete)
- Update example tests to use Enums().Lookup() instead of .Valid()

- Update README with Enums() validation examples and related projects section
- Upgrade release.yml actions versions (checkout@v6, setup-go@v6, golangci-lint@v9, codeql@v4)
- Update Go version badge to 1.25+ matching go.mod

- Regenerate enum code and update tests across examples 1-7

9 of 56 new or added lines in 10 files covered. (16.07%)

8 existing lines in 8 files now uncovered.

84 of 216 relevant lines covered (38.89%)

1.95 hits per line

Relevant lines Covered
Build:
Build:
216 RELEVANT LINES 84 COVERED LINES
1.95 HITS PER LINE
Source Files on main
  • Tree
  • List 11
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20096025046 refs/tags/v0.0.5 Integrate enum package with type aliases and streamlined code generation - Add Enum and Enums type aliases to reduce generic params from two to one - Add NewEnum and NewEnums functions in goenum package - Update generate.go to use goenum.NewEnums... push 10 Dec 2025 10:52AM UTC yangyile1990 github
38.89
20096019329 main Integrate enum package with type aliases and streamlined code generation - Add Enum and Enums type aliases to reduce generic params from two to one - Add NewEnum and NewEnums functions in goenum package - Update generate.go to use goenum.NewEnums... push 10 Dec 2025 10:52AM UTC yangyile1990 github
38.89
19525844182 refs/tags/v0.0.4 补充注释 Code generated using goenumgen. DO NOT EDIT. 至目标代码 push 20 Nov 2025 04:42AM UTC yangyile1990 github
30.34
19525840774 main 补充注释 Code generated using goenumgen. DO NOT EDIT. 至目标代码 push 20 Nov 2025 04:41AM UTC yangyile1990 github
30.34
17430466482 refs/tags/v0.0.3 准备点亮徽章 push 03 Sep 2025 10:21AM UTC yyle88 github
24.71
17430408606 main 准备点亮徽章 push 03 Sep 2025 10:19AM UTC yyle88 github
24.71
See All Builds (6)

Badge your Repo: goenum

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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