ecodeclub / ecache

统一缓存 API
Apache License 2.0
12 stars 15 forks source link

feat: 添加Delete接口、具体实现及测试、添加启动第三方环境的命令等 #25

Closed longyue0521 closed 11 months ago

longyue0521 commented 11 months ago

PR描述

  1. 新增Delete接口
  2. 基于lru客户端实现Delete接口并编写测试
  3. 基于redis客户端实现Delete接口并编写测试
  4. 添加dev_3rd_up、dev_3rd_down命令方便独立运行测试
codecov[bot] commented 11 months ago

Codecov Report

Merging #25 (b758c3c) into main (852a786) will decrease coverage by 7.08%. Report is 1 commits behind head on main. The diff coverage is 91.53%.

@@             Coverage Diff             @@
##              main      #25      +/-   ##
===========================================
- Coverage   100.00%   92.92%   -7.08%     
===========================================
  Files            1        2       +1     
  Lines           37      226     +189     
===========================================
+ Hits            37      210     +173     
- Misses           0       13      +13     
- Partials         0        3       +3     
Files Coverage Δ
redis/cache.go 100.00% <100.00%> (ø)
memory/lru/cache.go 91.44% <91.44%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

longyue0521 commented 11 months ago

覆盖率相比于#852a786下降7.08%是因为 memory/lru/cache.go | 91.44% <91.44%> (ø)导致的