Skip to content

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

Merged
pfi79 merged 1 commit intohyperledger-labs:mainfrom
pkucode:main
Mar 28, 2025
Merged

refactor: use the built-in max/min to simplify the code#617
pfi79 merged 1 commit intohyperledger-labs:mainfrom
pkucode:main

Conversation

@pkucode
Copy link
Copy Markdown
Contributor

@pkucode pkucode commented Mar 28, 2025

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

Signed-off-by: pkucode <cssjtu@163.com>
@pfi79 pfi79 merged commit 6134010 into hyperledger-labs:main Mar 28, 2025
8 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.

2 participants