We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39b4531 commit 36ae5ceCopy full SHA for 36ae5ce
utils/merr/closer.go
@@ -9,6 +9,7 @@ import (
9
// CloseAndMergeError close the closable and merge the closeErr with the given err into a multierror
10
// Note: when using this function in a defer function, don't use as below:
11
// func XXX() (
12
+//
13
// err error,
14
// ) {
15
// defer func() {
@@ -18,6 +19,7 @@ import (
18
19
//
20
// Better to use as below:
21
22
23
// errToReturn error,
24
25
0 commit comments