catatsuy / cache

Cache Library for Go
MIT License
14 stars 0 forks source link

Add Clear() method to all cache types and corresponding tests #5

Closed catatsuy closed 1 month ago

catatsuy commented 1 month ago

This pull request introduces a Clear method to various cache types and includes corresponding tests. The most important changes include adding the Clear method to the WriteHeavyCache, ReadHeavyCache, WriteHeavyCacheInteger, and ReadHeavyCacheInteger types, as well as updating the README.md to reflect these changes and adding tests for the new method.

Cache Method Additions:

Documentation Update:

Test Additions: