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

enetx / g / 12955361715
91%

Build:
DEFAULT BRANCH: main
Ran 24 Jan 2025 06:27PM UTC
Jobs 1
Files 42
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

24 Jan 2025 06:24PM UTC coverage: 87.147% (+4.2%) from 82.996%
12955361715

push

github

enetx
feat: completely reworked Sprintf logic with support for method chaining

- Fully reimplemented the `Sprintf` function logic.
- Added support for passing any types that have methods.
- Methods can now be invoked directly in the format string, including chained calls.
- Parameters can be passed to methods via placeholders in the string.
- Placeholders are processed dynamically, supporting method calls on values.
- Removed compatibility with the previous version of modifiers.

Examples:
- `{value.MethodName(param1, param2)}`
- `{value.Chain.Methods.With(params)}`

This change enables more flexible string formatting by utilizing object methods and logic directly in the formatting process, simplifying integration in applications. However, note that this version is **not compatible** with the old modifier-based approach.

48 of 58 new or added lines in 1 file covered. (82.76%)

2 existing lines in 1 file now uncovered.

3424 of 3929 relevant lines covered (87.15%)

129.26 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
87.3
34.57% print.go

Coverage Regressions

Lines Coverage ∆ File
2
87.3
34.57% print.go
Jobs
ID Job ID Ran Files Coverage
1 12955361715.1 24 Jan 2025 06:26PM UTC 42
87.15
GitHub Action Run
Source Files on build 12955361715
  • Tree
  • List 42
  • Changed 19
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • feb125b1 on github
  • Prev Build on main (#12914978178)
  • Next Build on main (#12957643153)
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