Skip to content

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

Open
alongdate wants to merge 1 commit intoethpandaops:masterfrom
alongdate:master
Open

refactor: use the built-in max/min to simplify the code#559
alongdate wants to merge 1 commit intoethpandaops:masterfrom
alongdate:master

Conversation

@alongdate
Copy link

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

Signed-off-by: alongdate <alongyear@outlook.com>
@alongdate alongdate requested a review from Savid as a code owner July 1, 2025 08:48
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