Skip to content

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

Open
alaningtrump wants to merge 1 commit into
mudler:masterfrom
alaningtrump:master
Open

refactor: use the built-in max/min to simplify the code#10657
alaningtrump wants to merge 1 commit into
mudler:masterfrom
alaningtrump:master

Conversation

@alaningtrump

@alaningtrump alaningtrump commented Jul 3, 2026

Copy link
Copy Markdown

Description

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

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.
Signed-off-by: alaningtrump <alaningtrump@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant