aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go
diff options
context:
space:
mode:
authorale <ale@incal.net>2019-10-07 16:40:51 +0200
committerale <ale@incal.net>2019-10-07 16:40:51 +0200
commita67708b7af20483dafc126ea85e6a7eeec965776 (patch)
treea9e8d5df127f88b9059b7762f14dfaa9c3d95ebd /vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go
parent6dc36ab41a50a22ccbc75c55e47326998c9f4bc0 (diff)
downloadcrawl-a67708b7af20483dafc126ea85e6a7eeec965776.tar.gz
crawl-a67708b7af20483dafc126ea85e6a7eeec965776.zip
Add a vendor dependency used for tests
Diffstat (limited to 'vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go')
-rw-r--r--vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go
new file mode 100644
index 0000000..c0b667f
--- /dev/null
+++ b/vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go
@@ -0,0 +1,10 @@
+// Copyright 2019, The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE.md file.
+
+// +build go1.10
+
+package flags
+
+// AtLeastGo110 reports whether the Go toolchain is at least Go 1.10.
+const AtLeastGo110 = true