update gruf / {go-cache, go-maps, go-kv} (#3361)

This commit is contained in:
kim
2024-09-27 10:26:50 +00:00
committed by GitHub
parent 58af95a1d5
commit 2f582e2e33
7 changed files with 31 additions and 36 deletions

View File

@@ -9,9 +9,3 @@ A `cache.Cache{}` implementation with much more of the inner workings exposed. D
## ttl
A `cache.TTLCache{}` implementation with much more of the inner workings exposed. Designed to be used as a base for your own customizations, or used as-is.
## result
`result.Cache` is an example of a more complex cache implementation using `ttl.Cache{}` as its underpinning.
It provides caching specifically of loadable struct types, with automatic keying by multiple different field members and caching of negative (error) values. All useful when wrapping, for example, a database.