Skip to content

refactor: replace sort.Slice with slices.Sort for natural ordering#340

Open
stringsbuilder wants to merge 1 commit intocanopy-network:mainfrom
stringsbuilder:main
Open

refactor: replace sort.Slice with slices.Sort for natural ordering#340
stringsbuilder wants to merge 1 commit intocanopy-network:mainfrom
stringsbuilder:main

Conversation

@stringsbuilder
Copy link

There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.

Signed-off-by: stringsbuilder <stringsbuilder@outlook.com>
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.

1 participant