mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Selective export (#770)
This commit is contained in:
4
vendor/github.com/modern-go/concurrent/go_above_19.go
generated
vendored
4
vendor/github.com/modern-go/concurrent/go_above_19.go
generated
vendored
@@ -4,10 +4,12 @@ package concurrent
|
||||
|
||||
import "sync"
|
||||
|
||||
// Map is a wrapper for sync.Map introduced in go1.9
|
||||
type Map struct {
|
||||
sync.Map
|
||||
}
|
||||
|
||||
// NewMap creates a thread safe Map
|
||||
func NewMap() *Map {
|
||||
return &Map{}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user