Skip to content

refactor: replace golang.org/x/exp with stdlib#2943

Merged
zzzckck merged 6 commits intobnb-chain:developfrom
StevenMia:master
Mar 25, 2025
Merged

refactor: replace golang.org/x/exp with stdlib#2943
zzzckck merged 6 commits intobnb-chain:developfrom
StevenMia:master

Conversation

@StevenMia
Copy link
Copy Markdown
Contributor

Description

Since Go 1.21, the functions in x/exp used here can already be replaced by functions from the standard library.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@zzzckck zzzckck changed the base branch from master to develop March 10, 2025 02:45
Copy link
Copy Markdown
Collaborator

@zzzckck zzzckck left a comment

Choose a reason for hiding this comment

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

"time"

"golang.org/x/exp/slices"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

a redundant line here

@zzzckck zzzckck merged commit 6b9d4cf into bnb-chain:develop Mar 25, 2025
5 of 7 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.

5 participants