package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Mar 7, 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
¶
ContextWithUtil wraps ctx and returns a context that contains Util.
type DefaultUtil struct{}
DefaultUtil is the default implementation of Util. This is used when no Util
is set (i.e. in tests).
UtilFromContext fetches the record Util from the context. If the
context does not contain a Util it returns nil.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.