aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/theckman/goconstraint/go1.9/gte
diff options
context:
space:
mode:
authorAmine Hilaly <hilalyamine@gmail.com>2019-04-09 21:56:56 +0200
committerAmine Hilaly <hilalyamine@gmail.com>2019-04-09 21:56:56 +0200
commit4d14cadde45ac807afcbfd37200e86c4de6bf8db (patch)
treee46d372dcd1e68fb067101778eb0a5f13f745ad0 /vendor/github.com/theckman/goconstraint/go1.9/gte
parent26b5343e2160de172969e6834074cf8482ceb845 (diff)
downloadgit-bug-4d14cadde45ac807afcbfd37200e86c4de6bf8db.tar.gz
drop go 1.8 support
Diffstat (limited to 'vendor/github.com/theckman/goconstraint/go1.9/gte')
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.9/gte/constraint.go8
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.9/gte/go19.go7
2 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/theckman/goconstraint/go1.9/gte/constraint.go b/vendor/github.com/theckman/goconstraint/go1.9/gte/constraint.go
new file mode 100644
index 00000000..ed67fefc
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.9/gte/constraint.go
@@ -0,0 +1,8 @@
+// The contents of this file has been released in to the Public Domain.
+
+// Package gtego19 should only be used as a blank import. If imported, it
+// will only compile if the Go runtime version is >= 1.9.
+package gtego19
+
+// This will fail to compile if the Go runtime version isn't >= 1.9.
+var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_9__
diff --git a/vendor/github.com/theckman/goconstraint/go1.9/gte/go19.go b/vendor/github.com/theckman/goconstraint/go1.9/gte/go19.go
new file mode 100644
index 00000000..446a5ee3
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.9/gte/go19.go
@@ -0,0 +1,7 @@
+// The contents of this file has been released in to the Public Domain.
+
+// +build go1.9
+
+package gtego19
+
+const __SOFTWARE_REQUIRES_GO_VERSION_1_9__ = uint8(0)