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 0289b78 commit 570860fCopy full SHA for 570860f
modules/globallock/locker.go
@@ -34,6 +34,7 @@ type Locker interface {
34
// if err != nil {
35
// return err
36
// }
37
+ // defer release()
38
// doSomething(ctx)
39
// ctx = release()
40
// doSomethingElse(ctx)
0 commit comments