Skip to content

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

Open
pkucode wants to merge 1 commit into
pokt-network:stagingfrom
pkucode:staging
Open

refactor: use the built-in max/min to simplify the code#1632
pkucode wants to merge 1 commit into
pokt-network:stagingfrom
pkucode:staging

Conversation

@pkucode

@pkucode pkucode commented Mar 28, 2025

Copy link
Copy Markdown

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

Signed-off-by: pkucode <cssjtu@163.com>
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