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

Use generics to define Deque instance for a type #23

Merged
merged 3 commits into from
May 30, 2022
Merged

Conversation

gammazero
Copy link
Owner

Deque uses generics to create a Deque that contains items of the type specified. To create a Deque that holds a specific type, provide a type argument to New or with the variable declaration.

This is a breaking change.

@codecov-commenter
Copy link

codecov-commenter commented May 28, 2022

Codecov Report

Merging #23 (78a8c72) into master (31c4a01) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #23   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          145       149    +4     
=========================================
+ Hits           145       149    +4     
Impacted Files Coverage Δ
deque.go 100.00% <100.00%> (ø)

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 31c4a01...78a8c72. Read the comment docs.

@gammazero gammazero merged commit d5d0c9a into master May 30, 2022
@gammazero gammazero deleted the generics branch May 30, 2022 17:52
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.

2 participants