Skip to content

Conversation

quantpoet
Copy link

Description

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

Fixes #(issue)

Type of change

  • Code refactor or improvement

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • [] make test
  • [] fullsync
  • [] Other test (please specify)

Test Configuration:

  • Firmware version:
  • Hardware:
  • Toolchain:
  • SDK:

Checklist:

  • [] My code follows the style guidelines of this project
  • [] I have performed a self-review of my code
  • [] I have commented my code, particularly in hard-to-understand areas
  • [] I have made corresponding changes to the documentation
  • [] My changes generate no new warnings
  • [] I have added tests that prove my fix is effective or that my feature works
  • [] New and existing unit tests pass locally with my changes
  • [] Any dependent changes have been merged and published in downstream modules

Signed-off-by: quantpoet <quantway@outlook.com>
@quantpoet quantpoet requested a review from a team as a code owner September 18, 2025 07:26
@CLAassistant
Copy link

CLAassistant commented Sep 18, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

@quantpoet
Copy link
Author

@CoderZhi @envestcc Hi, Could you please review this PR at your convenience? Thank you very much.

@quantpoet
Copy link
Author

@envestcc Thanks for your review!
If there's anything need I to do, please feel free to let me know.

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.

3 participants