Skip to content

refactor: use the built-in min to simplify the code#932

Open
solunolab wants to merge 1 commit into
0xPolygon:mainfrom
solunolab:main
Open

refactor: use the built-in min to simplify the code#932
solunolab wants to merge 1 commit into
0xPolygon:mainfrom
solunolab:main

Conversation

@solunolab
Copy link
Copy Markdown

Description

In Go 1.21, the standard library includes built-in max/min function, which can greatly simplify the code.

Jira / Linear Tickets

Testing

  • Test A
  • Test B

Signed-off-by: solunolab <solunolab@outlook.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2026

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.

1 participant