diff options
author | Unknwon <u@gogs.io> | 2019-10-23 23:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 23:03:17 -0700 |
commit | 613139e7bef81d3573e7988a47eb6765f3de347a (patch) | |
tree | 49de7277898d3ff47a122c072568edb8ed4c9ac9 /vendor/github.com/modern-go/concurrent/go_above_19.go | |
parent | fb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff) |
Enable Go modules (#5835)
* Remove vendor
* Enable Go modules
* ci: add command to fetch dependencies
* ci: update setting
* ci: update settings
* Require Go 1.11
* Rename module name to gogs.io/gogs
Diffstat (limited to 'vendor/github.com/modern-go/concurrent/go_above_19.go')
-rw-r--r-- | vendor/github.com/modern-go/concurrent/go_above_19.go | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/modern-go/concurrent/go_above_19.go b/vendor/github.com/modern-go/concurrent/go_above_19.go deleted file mode 100644 index aeabf8c4..00000000 --- a/vendor/github.com/modern-go/concurrent/go_above_19.go +++ /dev/null @@ -1,15 +0,0 @@ -//+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{} -} |