Skip to content

refactor: use slices.Contains to simplify code#1406

Merged
binwiederhier merged 1 commit into
binwiederhier:mainfrom
tanhuaan:main
Feb 1, 2026
Merged

refactor: use slices.Contains to simplify code#1406
binwiederhier merged 1 commit into
binwiederhier:mainfrom
tanhuaan:main

Conversation

@tanhuaan
Copy link
Copy Markdown
Contributor

There is a new function added in the go1.21 standard library, which can make the code more concise and easy to read.

Signed-off-by: tanhuaan <tanhuaan@outlook.com>
@binwiederhier
Copy link
Copy Markdown
Owner

Thanks

@binwiederhier binwiederhier merged commit 08bf71b into binwiederhier:main Feb 1, 2026
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