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 GetCallerFrame ¶
GetCallerFrame returns the value.
func PrintMemoryUsage ¶ added in v1.4.0
func PrintMemoryUsage(flag any)
PrintMemoryUsage performs the operation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.