package
Version:
v0.0.0-...-13747d4
Opens a new window with list of versions in this module.
Published: Jan 27, 2025
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 51
Opens a new window with list of known importers.
Documentation
¶
Package errs2 collects common error handling functions.
Collect returns first error from channel and all errors that happen within duration.
IgnoreCanceled returns nil, when the operation was about canceling.
IsCanceled returns true, when the error is a cancellation.
IsRPC checks if err contains an RPC error with the given status code.
Group is a collection of goroutines working on subtasks that are part of
the same overall task.
Go calls the given function in a new goroutine.
Wait blocks until all function calls from the Go method have returned, then
returns all errors (if any) from them.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.