aboutsummaryrefslogtreecommitdiffstats
path: root/git-bug.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 /git-bug.go
parent45b82de0be03ba0acbd82738dff85611b1d3c5a7 (diff)
downloadgit-bug-8a6a8055d723e523d9943244b042c778d75b02cc.tar.gz
add a check for the minimal go version (1.8)
Diffstat (limited to 'git-bug.go')
-rw-r--r--git-bug.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/git-bug.go b/git-bug.go
index 7a1a2ad4..c3a942e1 100644
--- a/git-bug.go
+++ b/git-bug.go
@@ -5,7 +5,12 @@
package main
-import "github.com/MichaelMure/git-bug/commands"
+import (
+ "github.com/MichaelMure/git-bug/commands"
+
+ // minimal go version is 1.8
+ _ "github.com/theckman/goconstraint/go1.8/gte"
+)
func main() {
commands.Execute()