package
Version:
v1.3.2
Opens a new window with list of versions in this module.
Published: Dec 5, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Gen creates a generic index function from one that expects a specific type.
GetByKey fetches the given value from the generic store and converts it to the right type.
List converts a list of generic items to a specific type.
This function is intended to be used for values returned on cache.Store and cache.Indexer methods.
UnexpectedTypeError is returned when an expected type did not match the actually returned type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.