Andrew Sy Kim af9875d477 Use dep for managing vendor/ (#395)
* vendor changes from dep init

* add Gopkg.lock and Gopkg.toml

* delete glide.lock and glide.yaml

* build gobgp from vendor
2018-04-16 23:10:47 +05:30

16 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{}
}