package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jun 12, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func ComputeNofBatches(low, high, n int) (batches int)
ComputeNofBatches divides the size of the range (high - low) by n. If n is 0,
a default is used that takes runtime.GOMAXPROCS(0) into account.
func WrapPanic(p interface{}) interface{}
WrapPanic adds stack trace information to a recovered panic.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.