Skip to content

refactor: use slices.Contains to simplify code#677

Merged
semyon-dev merged 1 commit intosingnet:masterfrom
chuanshanjida:master
Apr 14, 2026
Merged

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

Conversation

@chuanshanjida
Copy link
Copy Markdown
Contributor

@chuanshanjida chuanshanjida commented Apr 14, 2026

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

Inspired by #625 and replace all

Signed-off-by: chuanshanjida <chuanshanjida@outlook.com>
@semyon-dev semyon-dev added the good first issue Good for newcomers label Apr 14, 2026
@semyon-dev semyon-dev merged commit ad6bf8a into singnet:master Apr 14, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants