5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-02-17 03:09:14 +00:00

16 lines
209 B
Go
Raw Normal View History

2021-10-16 23:11:32 +02:00
//+build go1.9
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{}
}