Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 增加中间件缓存 #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: 增加中间件缓存 #71

wants to merge 1 commit into from

Conversation

thinkgos
Copy link
Member

增加缓存中间件

@thinkgos thinkgos added enhancement New feature or request good first issue Good for newcomers go Pull requests that update Go code labels Aug 29, 2024
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

Attention: Patch coverage is 69.64286% with 68 lines in your changes missing coverage. Please review.

Project coverage is 24.62%. Comparing base (7db0c0a) to head (cb29627).
Report is 76 commits behind head on main.

Files with missing lines Patch % Lines
examples/cache/redis/redis.go 0.00% 19 Missing ⚠️
examples/cache/custom/custom.go 0.00% 17 Missing ⚠️
examples/cache/memory/memory.go 0.00% 14 Missing ⚠️
cache/encoding.go 61.53% 7 Missing and 3 partials ⚠️
cache/pool.go 66.66% 4 Missing ⚠️
cache/cache.go 96.90% 2 Missing and 1 partial ⚠️
cache/persist/redis/redis.go 92.85% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #71       +/-   ##
===========================================
- Coverage   83.01%   24.62%   -58.40%     
===========================================
  Files           3       28       +25     
  Lines         106      999      +893     
===========================================
+ Hits           88      246      +158     
- Misses         16      747      +731     
- Partials        2        6        +4     
Flag Coverage Δ
unittests 24.62% <69.64%> (-58.40%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request go Pull requests that update Go code good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant