Discover Packages
github.com/leep-frog/command
cache
cachetest
package
Version:
v0.0.0-...-b47e1f0
Opens a new window with list of versions in this module.
Published: Dec 28, 2024
License: MIT
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
Documentation
¶
NewTestCache is a function useful for stubbing out caches in tests.
NewTestCacheWithData creates a test cache with the provided key-values.
String values are set using Cache.Put. All other values are set with Cache.PutStruct.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.