aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-12-23 23:03:19 +0100
committerMichael Muré <batolettre@gmail.com>2018-12-23 23:03:19 +0100
commit8a6a8055d723e523d9943244b042c778d75b02cc (patch)
tree927d1a713839778371b33800b86f9258a1ed9845 /vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
parent45b82de0be03ba0acbd82738dff85611b1d3c5a7 (diff)
downloadgit-bug-8a6a8055d723e523d9943244b042c778d75b02cc.tar.gz
add a check for the minimal go version (1.8)
Diffstat (limited to 'vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go')
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go b/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
new file mode 100644
index 00000000..24c248d6
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
@@ -0,0 +1,8 @@
+// The contents of this file has been released in to the Public Domain.
+
+// Package gtego18 should only be used as a blank import. If imported, it
+// will only compile if the Go runtime version is >= 1.8.
+package gtego18
+
+// This will fail to compile if the Go runtime version isn't >= 1.8.
+var _ = __SOFTWARE_REQUIRES_GO_VERSION_1_8__