Skip to content

refactor: use slices.Backward to simplify the code#1675

Open
chuanshanjida wants to merge 1 commit intohiero-ledger:mainfrom
chuanshanjida:main
Open

refactor: use slices.Backward to simplify the code#1675
chuanshanjida wants to merge 1 commit intohiero-ledger:mainfrom
chuanshanjida:main

Conversation

@chuanshanjida
Copy link
Copy Markdown

Description:

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

More info can see golang/go#61899

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: chuanshanjida <chuanshanjida@outlook.com>
@chuanshanjida chuanshanjida requested review from a team as code owners April 12, 2026 07:56
@lfdt-bot
Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

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