rio
rio copied to clipboard
Write test case for checking the count of goroutines before and after the test
We need to write test cases for calculating the resource utilization and if there are any unaccounted goroutines leaks. Use the following package to count the number of goroutines.
runtime.NumGoroutine()