Skip to content

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

Open
tsinglua wants to merge 1 commit intocosmos:mainfrom
tsinglua:main
Open

refactor: replace sort.Slice with slices.Sort for natural ordering#1075
tsinglua wants to merge 1 commit intocosmos:mainfrom
tsinglua:main

Conversation

@tsinglua
Copy link

@tsinglua tsinglua commented Mar 12, 2026

Description

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

The new signed pr for #1068


Author Checklist

All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.

I have...

  • tackled an existing issue or discussed with a team member
  • left instructions on how to review the changes
  • targeted the main branch

Signed-off-by: tsinglua <tsinglua@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