multi: make linter happy

Fix all the linter problems for the `v0.16.0-beta.rc3`.
This commit is contained in:
positiveblue committed 2023-03-11 23:29:41 -08:00
1 parent 840c939464
commit 4a0a15586b
5 files changed
+42 -21

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ import (
)
// RecvOrTimeout attempts to recv over chan c, returning the value. If the
// timeout passes before the recv succeeds, an error is returned
// timeout passes before the recv succeeds, an error is returned.
func RecvOrTimeout[T any](c <-chan T, timeout time.Duration) (*T, error) {
select {
case m := <-c: