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

go-xlan / protoenum / 19817887154
56%

Build:
DEFAULT BRANCH: main
Ran 01 Dec 2025 09:34AM UTC
Jobs 4
Files 8
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

01 Dec 2025 09:30AM UTC coverage: 64.111% (+11.9%) from 52.174%
19817887154

push

github

yangyile1990
feat: Add ListEnums and ListPures methods to enum collection

This commit introduces two new methods to the `Enums` collection:
- `ListEnums()`: Returns a slice of Protobuf enum values.
- `ListPures()`: Returns a slice of plain Go enum values.

These methods provide ordered access to the collection's element.

Changes include:
- Added `enumElements` field to `Enums` struct holding ordered enum instances.
- Refactored `defaultValue` initialization with `slicetern.V0` to make it concise.
- Updated `README.md` and `README.zh.md` with new API references and examples of `ListEnums` and `ListPures`.
- Added unit tests of the new `ListEnums` and `ListPures` methods.
- Added `github.com/yyle88/tern` dep.

14 of 14 new or added lines in 1 file covered. (100.0%)

184 of 287 relevant lines covered (64.11%)

33.3 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.23.x - 19817887154.1 01 Dec 2025 09:35AM UTC 8
64.11
GitHub Action Run
2 Go-stable - 19817887154.2 01 Dec 2025 09:35AM UTC 8
42.86
GitHub Action Run
3 Go-1.24.x - 19817887154.3 01 Dec 2025 09:34AM UTC 8
42.86
GitHub Action Run
4 Go-1.25.x - 19817887154.4 01 Dec 2025 09:34AM UTC 8
42.86
GitHub Action Run
Source Files on build 19817887154
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1a952491 on github
  • Prev Build on refs/tags/v0.0.3 (#19782879578)
  • Next Build on main (#19847599714)
  • Delete
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