Sign in
apache
/
incubator-seata-go
/
refs/heads/master_old
/
.
/
tc
/
lock
/
locker.go
blob: d0eb7ca1681a9030527d9d48f0121d1883f0cb39 [
file
] [
log
] [
blame
]
package lock
import "sync"
var lockManager ILockManager
func init() {
lockManager = &MemoryLocker{
LockMap: &sync.Map{},
BucketHolder: &sync.Map{},
}
}
func GetLockManager() ILockManager {
return lockManager
}