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

mvisonneau / gitlab-ci-pipelines-exporter / 15584626810

11 Jun 2025 12:17PM UTC coverage: 64.904% (-0.5%) from 65.4%
15584626810

push

github

web-flow
tools: moved to new go 1.24 approach using go get -tool and upgraded to golangci v2 (#1009)

26 of 49 new or added lines in 17 files covered. (53.06%)

22 existing lines in 1 file now uncovered.

3645 of 5616 relevant lines covered (64.9%)

3.74 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/pkg/utils/utils.go
1
package utils
2

3
// Ptr returns a pointer to the given value.
NEW
4
func Ptr[T any](v T) *T {
×
NEW
5
        return &v
×
NEW
6
}
×
7

8
// Val returns the actual value from a pointer or a zeroed value if the pointer is nil.
NEW
9
func Val[T any](v *T) T {
×
NEW
10
        if v == nil {
×
NEW
11
                var zero T
×
NEW
12
                return zero
×
NEW
13
        }
×
NEW
14
        return *v
×
15
}
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