Discover Packages
github.com/toplink-cn/moby
internal
cleanups
package
Version:
v0.0.0-...-460b4ae
Opens a new window with list of versions in this module.
Published: Mar 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Composite struct {
}
Add adds a cleanup to be called.
Call calls all cleanups in reverse order and returns an error combining all
non-nil errors.
Release removes all cleanups, turning Call into a no-op.
Caller still can call the cleanups by calling the returned function
which is equivalent to calling the Call before Release was called.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.