mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
fix err
This commit is contained in:
15
maps/option.go
Normal file
15
maps/option.go
Normal file
@ -0,0 +1,15 @@
|
||||
package maps
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"github.com/charlienet/go-mixed/locker"
|
||||
)
|
||||
|
||||
type options struct {
|
||||
mu sync.Locker
|
||||
}
|
||||
|
||||
func acquireDefaultOptions() *options {
|
||||
return &options{mu: locker.NewEmptyLocker()}
|
||||
}
|
Reference in New Issue
Block a user