Skip to content

refactor: use slices.Contains to simplify code#625

Merged
semyon-dev merged 1 commit intosingnet:masterfrom
ianlv:master
Jul 4, 2025
Merged

refactor: use slices.Contains to simplify code#625
semyon-dev merged 1 commit intosingnet:masterfrom
ianlv:master

Conversation

@ianlv
Copy link
Copy Markdown
Contributor

@ianlv ianlv commented Jul 2, 2025

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: ianlv <sunlvyun@outlook.com>
@semyon-dev semyon-dev merged commit 98a74a9 into singnet:master Jul 4, 2025
2 checks passed
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