Skip to content

chore: remove unused min func#322

Merged
cyberchen1995 merged 1 commit intoXmirrorSecurity:masterfrom
cargoedit:master
Oct 11, 2025
Merged

chore: remove unused min func#322
cyberchen1995 merged 1 commit intoXmirrorSecurity:masterfrom
cargoedit:master

Conversation

@cargoedit
Copy link
Copy Markdown
Contributor

Go 1.21 adds built-in functions min and max. https://tip.golang.org/doc/go1.21
Therefore, we can directly remove our own implementations and use the built-in function with the same names.

Signed-off-by: cargoedit <cargoedit@outlook.com>
@cargoedit
Copy link
Copy Markdown
Contributor Author

@cyberchen1995 Hi, Could you please review this PR at your convenience? Thank you very much.

@cyberchen1995 cyberchen1995 merged commit 4b17d3e into XmirrorSecurity:master Oct 11, 2025
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