diff --git a/base.go b/base.go index 4a6af70..4c7acc3 100644 --- a/base.go +++ b/base.go @@ -9,6 +9,10 @@ type Cond struct { sync.Cond } +type Map struct { + sync.Map +} + func NewCond(l Locker) *Cond { return (*Cond)(unsafe.Pointer(sync.NewCond(l))) }