catatsuy / cache

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

Add Clear method to WriteHeavyCacheExpired and ReadHeavyCacheExpired #18

Closed catatsuy closed 4 hours ago

catatsuy commented 4 hours ago

This pull request introduces a new Clear method to both the WriteHeavyCacheExpired and ReadHeavyCacheExpired cache types and adds corresponding tests to ensure the functionality works as expected. The most important changes include the addition of the Clear method and the implementation of tests for this new method.

New Methods:

Tests: