add sort function
@rmacciuci Thanks for the contribution 🚀 Would you mind a brief PR description for future documentation? Thanks!
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.
Codecov Report
Merging #8 (093129b) into master (cb0e5d9) will increase coverage by
1.05%. The diff coverage is100.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 dataPowered by Codecov. Last update cb0e5d9...69d526e. Read the comment docs.