Skip to content

Conversation

@pullmerge
Copy link
Contributor

@pullmerge pullmerge commented May 21, 2025

Proposed changes

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


Types of changes

  • Bug fix
  • New feature added
  • Documentation Update

Please make sure to follow these points

  • I have read the contributing guidelines.
  • I have performed a self-review of my own code or work.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generates no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • My changes have sufficient code coverage (unit, integration, e2e tests).

Screenshots (If Applicable)


Other Information

Any message for the reviewer or kick off the discussion by explaining why you considered this particular solution, any alternatives etc.

Signed-off-by: pullmerge <watchmessi@outlook.com>
@pullmerge pullmerge requested a review from a team as a code owner May 21, 2025 07:24
@EnriqueL8
Copy link
Contributor

Ah nice, thanks for the contribution!

@codecov
Copy link

codecov bot commented May 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.96%. Comparing base (4d12264) to head (e5d79e3).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1685   +/-   ##
=======================================
  Coverage   99.96%   99.96%           
=======================================
  Files         342      342           
  Lines       30439    30439           
=======================================
  Hits        30427    30427           
  Misses          8        8           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pullmerge
Copy link
Contributor Author

Ah nice, thanks for the contribution!

My pleasure.

@pullmerge
Copy link
Contributor Author

Thanks for your review!

Copy link
Contributor

@EnriqueL8 EnriqueL8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@EnriqueL8 EnriqueL8 merged commit 83e4cbe into hyperledger:main Jul 2, 2025
19 checks passed
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