Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goinaction/code
/ Lock
Method
Lock
chapter10/listing05/listing05.go:16–16 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
// Locker provides support for locking and unlocking things.
15
type
Locker
interface
{
16
Lock()
17
Unlock()
18
}
19
Callers
3
Release
Method · 0.65
Close
Method · 0.65
incCounter
Function · 0.65
Implementers
1
bike
chapter10/listing05/listing05.go
Calls
no outgoing calls
Tested by
no test coverage detected