Versions in this module Expand all Collapse all v0 v0.1.0 Sep 6, 2026 Changes in this version + var Backoff = func(t time.Duration) time.Duration + var Exit = os.Exit + var GetStack = func(all bool) string + var TraceAncestorsEnabled = regexp.MustCompile(`tracebackancestors=\d+`).MatchString(os.Getenv("GODEBUG")) + func Check(timeout time.Duration, ignores ...Ignore) error + func CheckLeak(t T, timeout time.Duration, ignores ...Ignore) + func CheckMainLeak(m M, timeout time.Duration, ignores ...Ignore) + func CheckWithContext(ctx context.Context, ignores ...Ignore) error + func Signal(signals ...os.Signal) context.Context + func Timeout(d time.Duration) context.Context + type Ignore func(t *Trace) bool + func CombineIgnores(list ...Ignore) Ignore + func IgnoreCurrent() Ignore + func IgnoreFuncs(names ...string) Ignore + func IgnoreList(list Traces) Ignore + func IgnoreNonChildren() Ignore + type M interface + Run func() int + type Stack struct + Func string + Loc string + type T interface + Cleanup func(f func()) + Fail func() + Failed func() bool + Helper func() + Logf func(format string, args ...interface{}) + type Trace struct + GoroutineAncestorIDs []int64 + GoroutineID int64 + Raw string + Stacks []Stack + WaitReason string + func (t Trace) HasParent(id int64) bool + func (t Trace) String() string + type Traces []*Trace + func Get(all bool) Traces + func Wait(ctx context.Context, ignores ...Ignore) (remain Traces) + func WaitWithBackoff(ctx context.Context, backoff func(time.Duration) time.Duration, ...) (remain Traces) + func (list Traces) Any() bool + func (list Traces) Filter(ignore Ignore) Traces + func (list Traces) String() string