slices icon indicating copy to clipboard operation
slices copied to clipboard

add sort function

Open rmacciuci opened this issue 4 years ago • 3 comments

rmacciuci avatar Mar 27 '22 23:03 rmacciuci

@rmacciuci Thanks for the contribution 🚀 Would you mind a brief PR description for future documentation? Thanks!

isacikgoz avatar Mar 30 '22 06:03 isacikgoz

Also @rmacciuci some extra tests would be nice for string and structs sorting (by struct field). This way we can show people how to use this function.

yakuter avatar Mar 30 '22 07:03 yakuter

Codecov Report

Merging #8 (093129b) into master (cb0e5d9) will increase coverage by 1.05%. The diff coverage is 100.00%.

:exclamation: Current head 093129b differs from pull request most recent head 69d526e. Consider uploading reports for the commit 69d526e to get more accurate results

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
+ Coverage   95.00%   96.05%   +1.05%     
==========================================
  Files           1        1              
  Lines          60       76      +16     
==========================================
+ Hits           57       73      +16     
  Misses          2        2              
  Partials        1        1              
Impacted Files Coverage Δ
slices.go 96.05% <100.00%> (+1.05%) :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 cb0e5d9...69d526e. Read the comment docs.

codecov[bot] avatar Mar 30 '22 14:03 codecov[bot]