mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-03 07:06:30 +00:00
75513575be
* store dependency's in git * since we vendor ... rm tech-depts * aad make target 'vendor' to update vendor folder (manual task)
15 lines
209 B
Go
15 lines
209 B
Go
//+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{}
|
|
}
|