Require Go 1.6 or greater

This commit is contained in:
Alexander Neumann
2016-08-16 20:32:18 +02:00
parent b108966b12
commit 1ad4d1aafd
4 changed files with 10 additions and 12 deletions

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