package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jul 30, 2024
License: MIT
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
¶
ID retrieves the ID value from the provided context.
ctx: The context to retrieve the ID from.
Returns: The ID value from the context, or an empty UUID if the context doesn't have an ID.
WithID returns a new context with the provided ID value.
ctx: The parent context.
id: The ID value to attach to the context.
Returns: A new context with the ID value attached.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.