aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/theckman/goconstraint/go1.10
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-03 14:06:29 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-03 14:06:29 +0100
commit912b5ca320891f2a4f1a88f1a137ce8ee46a1a03 (patch)
treec7cf8f08ccb8b6ac5c7e8ed0268a7d4b9ab0a2a9 /vendor/github.com/theckman/goconstraint/go1.10
parentf72a9dc62ba20546b2cdeb466434fc1900741a4f (diff)
downloadgit-bug-912b5ca320891f2a4f1a88f1a137ce8ee46a1a03.tar.gz
drop support for go 1.9
Diffstat (limited to 'vendor/github.com/theckman/goconstraint/go1.10')
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.10/gte/constraint.go8
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.10/gte/go110.go7
2 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/theckman/goconstraint/go1.10/gte/constraint.go b/vendor/github.com/theckman/goconstraint/go1.10/gte/constraint.go
new file mode 100644
index 00000000..33dc1161
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.10/gte/constraint.go
@@ -0,0 +1,8 @@
+// The contents of this file has been released in to the Public Domain.
+
+// Package gtego110 should only be used as a blank import. If imported, it
+// will only compile if the Go runtime version is >= 1.10.
+package gtego110
+
+// This will fail to compile if the Go runtime version isn't >= 1.10.
+var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_10__
diff --git a/vendor/github.com/theckman/goconstraint/go1.10/gte/go110.go b/vendor/github.com/theckman/goconstraint/go1.10/gte/go110.go
new file mode 100644
index 00000000..5d586ff9
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.10/gte/go110.go
@@ -0,0 +1,7 @@
+// The contents of this file has been released in to the Public Domain.
+
+// +build go1.10
+
+package gtego110
+
+const __SOFTWARE_REQUIRES_GO_VERSION_1_10__ = uint8(0)