Skip to content

Code linting: remove functions min and max#2047

Open
deining wants to merge 1 commit intonats-io:mainfrom
deining:minmax
Open

Code linting: remove functions min and max#2047
deining wants to merge 1 commit intonats-io:mainfrom
deining:minmax

Conversation

@deining
Copy link
Copy Markdown
Contributor

@deining deining commented Mar 29, 2026

This PR removes function min and max, these functions are available in golang itself as of Go 1.21. It also simplifies code by using minof max function.

@synadia-claude-reviewer
Copy link
Copy Markdown

Claude Code is working…

I'll analyze this and get back to you.

View job run

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