MCPcopy
hub / github.com/uber-go/goleak / ID

Method ID

internal/stack/stacks.go:51–53  ·  view source on GitHub ↗

ID returns the goroutine ID.

()

Source from the content-addressed store, hash-verified

49
50// ID returns the goroutine ID.
51func (s Stack) ID() int {
52 return s.id
53}
54
55// State returns the Goroutine's state.
56func (s Stack) State() string {

Callers 11

TestOptionsFiltersFunction · 0.80
isBackgroundRunningFunction · 0.80
IgnoreCurrentFunction · 0.80
filterStacksFunction · 0.80
FindFunction · 0.80
TestCurrentFunction · 0.80
TestParseStackFunction · 0.80
TestParseStackFixturesFunction · 0.80
LessMethod · 0.80
isBackgroundRunningFunction · 0.80

Calls

no outgoing calls

Tested by 8

TestOptionsFiltersFunction · 0.64
isBackgroundRunningFunction · 0.64
TestCurrentFunction · 0.64
TestParseStackFunction · 0.64
TestParseStackFixturesFunction · 0.64
LessMethod · 0.64
isBackgroundRunningFunction · 0.64