elliotchance / pie

🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance.
https://pkg.go.dev/github.com/elliotchance/pie/v2
MIT License
1.96k stars 91 forks source link

add shift and unshift func #156

Closed ougwen1235 closed 5 years ago

ougwen1235 commented 5 years ago

add shift and unshift func, see detail


This change is Reviewable

codecov-io commented 5 years ago

Codecov Report

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

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #156   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           8      8           
  Lines        1643   1673   +30     
=====================================
+ Hits         1643   1673   +30
Impacted Files Coverage Δ
pie/float64s_pie.go 100% <100%> (ø) :arrow_up:
pie/carpointers_pie.go 100% <100%> (ø) :arrow_up:
pie/cars_pie.go 100% <100%> (ø) :arrow_up:
pie/ints_pie.go 100% <100%> (ø) :arrow_up:
pie/strings_pie.go 100% <100%> (ø) :arrow_up:

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 290807a...d90b1ff. Read the comment docs.