8000 feat: Added support for sorting by Shivam010 · Pull Request #2 · go-dash/slice · GitHub
[go: up one dir, main page]

Skip to content

feat: Added support for sorting - #2

Open
Shivam010 wants to merge 1 commit into
go-dash:masterfrom
Shivam010:master
Open

Shivam010 wants to merge 1 commit into
go-dash:masterfrom
Shivam010:master

Conversation

@Shivam010
@Shivam010 Shivam010 commented Sep 24, 2018 •
Copy link
Copy Markdown

Issue: #3

Hi,
I have added support for sorting of the slice which requires a comparison function to sort the given slice.
I hope you would accept my pull request.

Thanks.

@Shivam010 Shivam010 mentioned this pull request Dec 4, 2018
@nmaupu
nmaupu commented Sep 24, 2020
Copy link
Copy Markdown

🤔 What about https://golang.org/pkg/sort/ ?

@Shivam010
Shivam010 commented Sep 24, 2020 •
Copy link
Copy Markdown
Author

@nmaupu It internally uses the same, Golang native sort library.
It was just implemented to support chaining functionality. And for the sole purpose of exploring the library and also for fun 😅

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

0