MCPcopy
hub / github.com/uber-go/zap / init

Function init

internal/ztest/timeout.go:54–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func init() {
55 if v := os.Getenv("TEST_TIMEOUT_SCALE"); v != "" {
56 Initialize(v)
57 log.Printf("Scaling timeouts by %vx.\n", _timeoutScale)
58 }
59}

Callers

nothing calls this directly

Calls 2

InitializeFunction · 0.85
PrintfMethod · 0.45

Tested by

no test coverage detected