Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: using slices.Contains to simplify the code #2552

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

dashangcun
Copy link
Contributor

Why this should be merged

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

How this works

How this was tested

How is this documented

@arturrez
Copy link
Collaborator

@dashangcun thank you for your contribution. Please sign your commit

Signed-off-by: dashangcun <907225865@qq.com>
@dashangcun
Copy link
Contributor Author

@dashangcun thank you for your contribution. Please sign your commit

Signed. Please review again.

@felipemadero felipemadero merged commit 3826554 into ava-labs:main Jan 14, 2025
37 checks passed
owenwahlgren pushed a commit that referenced this pull request Jan 23, 2025
Signed-off-by: dashangcun <907225865@qq.com>
Co-authored-by: arturrez <56270896+arturrez@users.noreply.github.com>
Co-authored-by: felipemadero <felipe.madero@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants