Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TickerInterval = time.Millisecond * 50
TickerInterval defines the interval used by the ticker in Check* functions.
Functions ¶
func CheckContext ¶
CheckContext snapshots the currently-running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked.
func PrintMemoryUsage ¶ added in v1.4.0
func PrintMemoryUsage(flag any)
func PrintStack ¶ added in v1.4.0
func PrintStack(flag any)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.