Skip to content

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

Open
pengqiseven wants to merge 1 commit into
utreexo:mainfrom
pengqiseven:main
Open

refactor: use the built-in max/min to simplify the code#311
pengqiseven wants to merge 1 commit into
utreexo:mainfrom
pengqiseven:main

Conversation

@pengqiseven
Copy link
Copy Markdown

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

Signed-off-by: pengqiseven <912170095@qq.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.

2 participants