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

Permify / permify / 11803394053

12 Nov 2024 06:23PM UTC coverage: 79.994% (-0.02%) from 80.014%
11803394053

push

github

web-flow
Merge pull request #1780 from Permify/dependabot/go_modules/go.opentelemetry.io/otel/exporters/zipkin-1.32.0

build(deps): bump go.opentelemetry.io/otel/exporters/zipkin from 1.31.0 to 1.32.0

8169 of 10212 relevant lines covered (79.99%)

121.04 hits per line

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

33.33
/internal/storage/postgres/gc/options.go
1
package gc
2

3
import (
4
        "time"
5
)
6

7
// Option represents a function that configures a GC (Garbage Collector) instance.
8
type Option func(gc *GC)
9

10
// Interval is an option that sets the interval duration for the GC.
11
func Interval(n time.Duration) Option {
×
12
        return func(gc *GC) {
×
13
                gc.interval = n
×
14
        }
×
15
}
16

17
// Window is an option that sets the window duration for the GC.
18
func Window(n time.Duration) Option {
1✔
19
        return func(gc *GC) {
2✔
20
                gc.window = n
1✔
21
        }
1✔
22
}
23

24
// Timeout is an option that sets the timeout duration for the GC.
25
func Timeout(n time.Duration) Option {
×
26
        return func(gc *GC) {
×
27
                gc.timeout = n
×
28
        }
×
29
}
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