Skip to content

refactor: use slices.Contains to simplify code#173

Merged
pfi79 merged 1 commit intohyperledger:mainfrom
zhedazijingang:main
Aug 28, 2025
Merged

refactor: use slices.Contains to simplify code#173
pfi79 merged 1 commit intohyperledger:mainfrom
zhedazijingang:main

Conversation

@zhedazijingang
Copy link
Contributor

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

@zhedazijingang zhedazijingang requested a review from a team as a code owner August 28, 2025 07:17
Signed-off-by: zhedazijingang <unwrap_or_else@outlook.com>
@pfi79 pfi79 merged commit d58a12c into hyperledger:main Aug 28, 2025
6 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.

3 participants