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

Add Set method #9

Merged
merged 2 commits into from Mar 10, 2020
Merged

Add Set method #9

merged 2 commits into from Mar 10, 2020

Conversation

vejnar
Copy link
Contributor

@vejnar vejnar commented Mar 10, 2020

This is adding the Set() method with the same intent as At(): to be able to use deque as a more general purpose circular buffer (similar to deque in C++).
Please comment and/or merge.

The request removed the Copy method from #8 .

@vejnar vejnar mentioned this pull request Mar 10, 2020
@codecov-io
Copy link

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master     #9   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           1      1           
  Lines         102    106    +4     
=====================================
+ Hits          102    106    +4
Impacted Files Coverage Δ
deque.go 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e84b94...219e1ab. Read the comment docs.

@gammazero gammazero merged commit 50fa758 into gammazero:master Mar 10, 2020
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.

None yet

3 participants