Skip to content

refactor: use the built-in max/min to simplify the code#2998

Merged
zzzckck merged 2 commits intobnb-chain:developfrom
evenevent:master
Mar 28, 2025
Merged

refactor: use the built-in max/min to simplify the code#2998
zzzckck merged 2 commits intobnb-chain:developfrom
evenevent:master

Conversation

@evenevent
Copy link
Contributor

Description

Use the built-in max/min from the standard library in Go 1.21 to simplify the code. https://pkg.go.dev/builtin@go1.21.0#max

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
  • ...

brilliant-lx and others added 2 commits March 26, 2025 14:36
@zzzckck zzzckck changed the base branch from master to develop March 28, 2025 04:51
@zzzckck zzzckck merged commit d398768 into bnb-chain:develop Mar 28, 2025
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.

4 participants