mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 00:22:41 +08:00
update
This commit is contained in:
@ -28,6 +28,7 @@ type option struct {
|
||||
type setFunc func(option)
|
||||
|
||||
func WithSync() setFunc {
|
||||
|
||||
return func(o option) {
|
||||
o.locker = &sync.RWMutex{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user