Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@erni27
Copy link
Owner

@erni27 erni27 commented Jul 30, 2023

This PR adds CompareAndSwap method to both Cache and Sharded types.

Fixes: #45

@erni27 erni27 added this to the 1.1.0 Release milestone Jul 30, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2023

Codecov Report

Merging #50 (39f8fe9) into master (c2f6d27) will increase coverage by 0.44%.
The diff coverage is 90.24%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master      #50      +/-   ##
==========================================
+ Coverage   95.47%   95.91%   +0.44%     
==========================================
  Files           8        7       -1     
  Lines         796      833      +37     
==========================================
+ Hits          760      799      +39     
+ Misses         31       30       -1     
+ Partials        5        4       -1     
Files Changed Coverage Δ
imcache.go 98.49% <90.24%> (+0.09%) ⬆️

@erni27 erni27 merged commit 4312a64 into master Jul 30, 2023
@erni27 erni27 deleted the add-compare-and-swap branch July 30, 2023 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CompareAndSwapmethod

3 participants