Skip to content

v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@nightmarlin nightmarlin released this 18 May 19:45
· 6 commits to main since this release
913382e

Rewrites the caching strategy to be Significantly Simpler - while I had fun with the Tx-like implementations, they were over-complicated and made testing a nightmare!

All changes

  • caching strategy changed from Tx-like approach to a loadOnMiss func(context.Context) (any, error) system
  • doc improvements
  • errors now only store the status code
  • added TTL support to the LRU cache