aboutsummaryrefslogtreecommitdiffstats
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
parent26b5343e2160de172969e6834074cf8482ceb845 (diff)
downloadgit-bug-4d14cadde45ac807afcbfd37200e86c4de6bf8db.tar.gz
drop go 1.8 support
-rw-r--r--.travis.yml2
-rw-r--r--Gopkg.lock6
-rw-r--r--git-bug.go4
-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
-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
7 files changed, 20 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml
index a405fecc..95c86e7f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,6 @@
matrix:
include:
- language: go
- go: "1.8"
- - language: go
go: "1.9"
- language: go
go: "1.10"
diff --git a/Gopkg.lock b/Gopkg.lock
index 72ae9491..409b69a0 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -306,9 +306,9 @@
version = "v1.2.2"
[[projects]]
- digest = "1:0ec412b28282c10ac6ce56039120741bb738814e4874d23c15fdff37f6aa7a62"
+ digest = "1:823766f4e1833bd562339317d905475fe46789da3863b2da7a1871f9f12bb4b3"
name = "github.com/theckman/goconstraint"
- packages = ["go1.8/gte"]
+ packages = ["go1.9/gte"]
pruneopts = "UT"
revision = "93babf24513d0e8277635da8169fcc5a46ae3f6a"
version = "v1.11.0"
@@ -452,7 +452,7 @@
"github.com/spf13/cobra/doc",
"github.com/stretchr/testify/assert",
"github.com/stretchr/testify/require",
- "github.com/theckman/goconstraint/go1.8/gte",
+ "github.com/theckman/goconstraint/go1.9/gte",
"github.com/vektah/gqlgen/client",
"github.com/vektah/gqlparser",
"github.com/vektah/gqlparser/ast",
diff --git a/git-bug.go b/git-bug.go
index c3a942e1..20bf74bc 100644
--- a/git-bug.go
+++ b/git-bug.go
@@ -8,8 +8,8 @@ package main
import (
"github.com/MichaelMure/git-bug/commands"
- // minimal go version is 1.8
- _ "github.com/theckman/goconstraint/go1.8/gte"
+ // minimal go version is 1.9
+ _ "github.com/theckman/goconstraint/go1.9/gte"
)
func main() {
diff --git a/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go b/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
deleted file mode 100644
index 24c248d6..00000000
--- a/vendor/github.com/theckman/goconstraint/go1.8/gte/constraint.go
+++ /dev/null
@@ -1,8 +0,0 @@
-// 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
deleted file mode 100644
index 777fea4d..00000000
--- a/vendor/github.com/theckman/goconstraint/go1.8/gte/go18.go
+++ /dev/null
@@ -1,7 +0,0 @@
-// 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)
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)