Skip to content

Conversation

@pkucode
Copy link

@pkucode pkucode commented Mar 28, 2025

Detailed 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

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Signed-off-by: pkucode <cssjtu@163.com>
@nickmandev
Copy link

Thank you for the contribution but we decided that we wont merge it for the time being. Your change increased the Go version from 1.20 ~> 1.21 which will require a lot of changes in our infra.

Until we are ready with the version upgrade we will keep this PR open.

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.

2 participants