leaktest

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineLeakCheck

func GoroutineLeakCheck(t testing.TB) func()

GoroutineLeakCheck compares the number of goroutines at he beginning og a test to the end. Put GoroutineLeakCheck(t)() at the top of your test. Make sure the goroutine count is steady before your test begins.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL