Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AfterTest ¶
AfterTest snapshots the currently-running goroutines and returns a function to be run at the end of tests to see whether any goroutines leaked.
func AssertNoGoroutineLeak ¶
AssertNoGoroutineLeak checks and ensures that there is no extra goroutine other than the ones included in the init map.
func GetInterestedGoroutines ¶
GetInterestedGoroutines returns a set of interested goroutines.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.