Skip to content

Commit

Permalink
*: update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Aug 23, 2022
1 parent 34375f0 commit 6b909d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/channel/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ package channel

// Clear is to clear the channel
func Clear[T any](ch chan T) {
//nolint:revive,all_revive
for range ch {
}
}

0 comments on commit 6b909d5

Please sign in to comment.