aboutsummaryrefslogtreecommitdiffstats
path: root/vendor
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
parent45b82de0be03ba0acbd82738dff85611b1d3c5a7 (diff)
downloadgit-bug-8a6a8055d723e523d9943244b042c778d75b02cc.tar.gz
add a check for the minimal go version (1.8)
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/theckman/goconstraint/LICENSE9
-rw-r--r--vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt24
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go8
-rw-r--r--vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go7
4 files changed, 48 insertions, 0 deletions
diff --git a/vendor/github.com/theckman/goconstraint/LICENSE b/vendor/github.com/theckman/goconstraint/LICENSE
new file mode 100644
index 00000000..9403d859
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/LICENSE
@@ -0,0 +1,9 @@
+This package is released under two software licenses (MIT | Public Domain):
+
+* The `scripts/` directory is released under the MIT License. This license can
+ be found in the `LICENSES` directory as mit.txt [1].
+* All other files are released to the Public Domain using The Unlicense . This
+ license can be found in the `LICENSES` directory as unlicense.txt [2].
+
+[1] https://github.com/theckman/goconstraint/blob/master/LICENSES/mit.txt
+[2] https://github.com/theckman/goconstraint/blob/master/LICENSES/unlicense.txt
diff --git a/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt b/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt
new file mode 100644
index 00000000..fdddb29a
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/LICENSES/unlicense.txt
@@ -0,0 +1,24 @@
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <https://unlicense.org>
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__
diff --git a/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go b/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go
new file mode 100644
index 00000000..777fea4d
--- /dev/null
+++ b/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go
@@ -0,0 +1,7 @@
+// The contents of this file has been released in to the Public Domain.
+
+// +build go1.8
+
+package gtego18
+
+const __SOFTWARE_REQUIRES_GO_VERSION_1_8__ = uint8(0)