Require Go 1.6 or greater

This commit is contained in:
Alexander Neumann committed 2016-08-16 20:32:58 +02:00
1 parent b108966b12
commit 1ad4d1aafd
4 files changed
+10 -12

No files matched your search

+4
View File
@@ -278,6 +278,10 @@ func (cs Constants) LDFlags() string {
}
func main() {
if runtime.Version() < "go1.6" {
fmt.Fprintf(os.Stderr, "old version of Go detected (%v), I'll try but no guarantees\n", runtime.Version())
}
buildTags := []string{}
skipNext := false