github.com/onsi/gomega@v1.32.0/gleak/goroutines.go (about) 1 package gleak 2 3 import "github.com/onsi/gomega/gleak/goroutine" 4 5 // Goroutine represents information about a single goroutine and is a 6 // convenience type alias. 7 type Goroutine = goroutine.Goroutine 8 9 // Goroutines returns information about all goroutines: their goroutine IDs, the 10 // names of the topmost functions in the backtraces, and finally the goroutine 11 // backtraces. 12 func Goroutines() []Goroutine { 13 return goroutine.Goroutines() 14 }