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

go-xlan / protoenum / 19817887154 / 3
56%
main: 56%

Build:
DEFAULT BRANCH: main
Ran 01 Dec 2025 09:35AM UTC
Files 8
Run time 0s
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: 42.857% (+2.3%) from 40.58%
19817887154.3

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.

123 of 287 relevant lines covered (42.86%)

7.48 hits per line

Source Files on job Go-1.24.x - 19817887154.3
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19817887154
  • 1a952491 on github
  • Prev Job for on main (#19782879578.4)
  • Next Job for on main (#19847599714.1)
  • 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